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.
Took me 30 mins i just did this for fun
LOL
I admire your commitment, but do not envy the hours you lost typing this.
which one
Real chad solution
This should be the beginning of every code
While this does work. I think this is just really hard to read.
Sorry I missed that totally bcoz i solved a 3kyu problem for the 1st time.
With 252 candies:
252 is not enough candies.
In python it is given that 9 kids require 2520 candies. 252 is enough
This seems impossible i used 6n+1, 6n-1 theorem which means that i'm reducing the loops by 66.67%.In my IDE it runs in 7.11 secs for 10000000.However here, it shows tle.
GIGACHAD
GIGACHAD
GIGACHAD