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.
int n = 7230702951; // invalid in java. The literal 7230702951 of type int is out of range
Did you figure this out? I'm struggling real hard for test case with 3263.
I solved the problem but thanks anyway for your help :D
You are probably using up memory, and the test cases inputs a really large number.
As stated in the problem, you need to be able to handle this case:
If that case breaks, you'll need to refactor your solution until it doesn't break.
I'm having the same problem. Are we all doing something wrong is there something wrong with the problem?
My code got through the most of the tests but at 3 tests the outcome is "Java Heap Space", how could i solve the problems ?
how do you actually use that code? I passed the run tests part but failed the submit tests. I was supposed to get -1 but i got 3263.10819218804. If i could see the test numbers maybe i can figure out what went wrong.
You can just System.out.println them
This comment is hidden because it contains spoiler information about the solution