|
0
|
|
+1
its like fibonacci without memoisation, you are calculating for a state (lets say 10) multiple times, (20 -> 10 or 19 -> 20 -> 10), consider memoisation instead which stores the result of some visited state, and there will be O(log(1e18)) such numbers |
|
0
Code I read the editorial editorial and the code is written to handle the points before and after (a-1 and b+1 (where a and b are compressed coordinates) ) which i am not doing, could anyone please explain why is it so my approach is to simply compress all , now we can say that from point a to b, the total c values remains same. i cant find my mistake. |
|
0
but i dont see any chemical equations there |
|
-6
thanks for the reply, i have 2 final questions
edit : i meant less rated , this is my alt unrated account. |
|
+2
This is the best club and the best series of tutorials with comprehensive explanations, better than all the youtube channels out there. PERIOD. (since its a coordinated effort by good programmers). kudos to the efforts you guys put in making the videos. |
|
+13
hi ashishgup, I am a big fan, my level is currently 1630 and max rating of 1735. what would you suggest to reach 1900 rating.The catch is that i have given more than 80 contests but still unrated. I also rarely upsolve ( maybe that is one thing i can work upon too. ) |
|
0
I couldn't understand F , could anyone explain please. i mean what is the dp state if it is a dp related problem |