It's pretty hard for me to read "pure" math, but this kata is very nice written, and maybe even makes it little easy to undestand such formulas in future.
Thanks )
No hablo Ingles? Or this kata intentionally in Spanish? If not, maybe it should be translated to English, otherwise some comment in description would be appreciated.
Pretty sure that there an issue with test design, in C# used Decimal for all internal calculations (had to create temp decimal array), and it still sometimes gives an round error:
Expected: 10350550334592294.0d
But was: 10350550334592292.0d
It's pretty hard for me to read "pure" math, but this kata is very nice written, and maybe even makes it little easy to undestand such formulas in future.
Thanks )
Tried to make dead stupid solution, but huh, it's pretty common )
Still, nice kata.
No hablo Ingles? Or this kata intentionally in Spanish? If not, maybe it should be translated to English, otherwise some comment in description would be appreciated.
Was able to bruteforce using Linq. Nice that tests throw overflow for simplest solution.
Name of this kata is somewhat misleading.
This comment is hidden because it contains spoiler information about the solution
Thank you. This kata was very fun.
Pretty sure that there an issue with test design, in C# used Decimal for all internal calculations (had to create temp decimal array), and it still sometimes gives an round error:
Expected: 10350550334592294.0d
But was: 10350550334592292.0d
Won't it overflow stack?
How can sample-tests be added to other people Kata, not just for myself?