Comments

Nice explanation

On GhostO_o → Can't reach Pupil., 2 years ago
0

I agree that you are solving problems regularly, but you are only solving 800 rated problems. Solve 50-70 problems for a rating and move to next rating(900,1000,1100..). If you want to become pupil which is 1200, then you should solve questions upto 1200-1400, then there will be high chance of you becoming pupil.

I need help with time complexity Since m is 50,and no. of testcases are 1000. Sum of m over all testcases should be 5e4 which after multiplying with 1e5(sum of Σh over all testcases) comes out to be 5e9. And 5e9 should give TLE.

great explanation thanks

On ar7L → How to get rid of newbie :(, 3 years ago
0

I saw that you have solved a lot of questions, but i think that you lack consistency Try to solve regularly, atleast one question daily

In your code,using 'for loop', you have have handled the case of going from last to first within a row.But you have not done anything in case of going from last column to first column,whenever lvl==n if prev!=n-1 , you are just returning INT_MIN.why have you ignored that case??

all the best