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.
fork
merge conflict
done, thanks
automorphic
array have squares that do not fit in an unsigned 64-bit integer, which means naive solutions (including the reference solution) are wrong for these numbersconst
modifier but it's best to be explicitAM_LEN
is a good effort, but it would be even better to let the compiler calculate it for you, so that potential additions/deletions of array elements in future maintenance do not require a recounting:Great solution, I think is one of the efficent. Great:)
bro said my brain stupid in 103 ways
This comment is hidden because it contains spoiler information about the solution
genius
sorry im a newbie ^^
Your solution is easily viewable by clicking "View Solution" under your comment, so there is no need to share it in discourse. But if you really want to, be sure to click the spoiler checkbox before posting ^^
This comment is hidden because it contains spoiler information about the solution
Completely missed those. Fixed now ✅
i still see
System.out.format()
calls - these should be passed as JUnit message parameters instead (and ideally, include the input array too)Fixed all of your points ✅
I put an anticheat here because the original translation had one. And I probably just imported
math
by accident while moving all of the stuff from PreloadedLoading more items...