I don't understand what random tests are telling me,
I check in the IDE and everything works.
The same test passes successfully.
What does he see wrong? My code is extremely simple.
On some random tests it gives the following
Expected: 719.5, instead got: 720
I can't figure out where this is coming from.
In the IDE, the tests pass just fine. Help me please.
yeah, that is how expert looks like
This comment is hidden because it contains spoiler information about the solution
This is the best explanation of closure
This is a real programming!
Oh no, oh no, oh no no no no no...
Not a readable, not understable,not humanable) And not fast one.
Print the input value too.
Probably it's a matter of precision
I don't understand what random tests are telling me,
I check in the IDE and everything works.
The same test passes successfully.
What does he see wrong? My code is extremely simple.
On some random tests it gives the following
Expected: 719.5, instead got: 720
I can't figure out where this is coming from.
In the IDE, the tests pass just fine. Help me please.
Faced this problem. Were you able to solve it?
hack way)
This comment is hidden because it contains spoiler information about the solution
Like calling the devil
Thanks. Again my fault.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN
Loading more items...