Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Ok
Your solution crashes for large numbers. Try running it with
n=160000
.Can you help me?
I've got this message in output:
Fatal error in , line 0
Fatal JavaScript invalid size error 169220804
In C++ datatypes which can handle bigger inputs required like double, long long
Approved
C#:
CollectionAssert.AreEqual
or any other predefined comparator function should be used instead of using the self / user-defined oneand how did you solve this problem? the same bullshit
In Java, the big random tests exceed the maximum value of long data type.
If you use BigInteger to prevent this, you should get an error, because the return data type should be a long[].
I think that providing argument type(unsigned int,c++, in fucntion prototype) that causes errors isn't a good idea.
This has already been mentioned in an open issue
In C#-test expected and actual are reversed
approved
Clojure: solution is available for the user to submit
Clojure: no sample tests
C#: expected and actual are swapped in assertion.
Loading more items...