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.
Dammit I keep overcomplicating these tasks by needlessly employing loops and control flow XD
Python solve 60000000 in 0.00011420249938964844 second on local computer(2013 version Mac Air).
time squaresums.sh 60000000 -> 1, 9, 99, 10954, 59999999 == real 0m0.027s
actually solvable in under 90 mins using a shell script thats about 50x 'better' than 12s.
dudes...
If $1 has spaces you might not get what you expect. Also, it's possible to hit the max command length with this as well.
Using Java and backtracking:
I can't see your solution, so I can't really say, but this is not a very complex kata.
1s 242ms with me. why 12s ?
This comment is hidden because it contains spoiler information about the solution
Looks nice, but what if directory have a name *.png?
Didn't you have a "#include /cmath/" ('/' instead of '<' because it doesn't show up) in your code?
Otherwise uncomment it in the "Example tests" if it is still commented.
Edit: I just uncommented it.
This comment is hidden because it contains spoiler information about the solution
I think there should be a test that uses the result of a funciton call as an operand. E.g.: