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.
Ah I see it now, thank you stephan <3
I can't see your comment mate
use markdown like
i.e. put code in between ```.
There are a few syntax errors in your code as I read it. Try and paste the code properly which got the exit code.
This comment is hidden because it contains spoiler information about the solution
Well, don't use one for loop in another. That's O(n^2) time because of them which will be too slow. You have to change your approach completely due to the upper limit of
n
being 10^6.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yeah me too, did you figure it out?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
Ah I see, Thanks!
Hi, it's not a kata issue, you just need to return the value, not print.
Loading more items...