Comments

I loved problem F

On bill_lin1898, 1899..., 4 years ago
+8

this shows that you are capable of reaching cm very soon. good luck

I observed that using one array of size 5000*5000 will be fine (takes about 195900 KB) but as soon as you u use two array of size 5000*5000 you will get MLE. This problem was tricky we get tle and mle check these two submission acc code mle code

thank you for sharing your approach

I really like the way D was made. It was easy but little trick at the same time. Thanks for this

Really man , what is this !! truly strange

Code chef is joke .. and what is the point of copying .. It's reflects how Indians are .

On sakaasdHow to solve this problem, 5 years ago
0

just subtract the bad ones from the total you will get the true position . than take %3 and print.

your are right

thanks for this..

you can feel of it when you see my submission in 1st every thing is same except I used modulo for every iteration which gives me straight TLE

and then when I don't apply in each iteration it takes 62 ms

bad code 111795934

good code 111799139

The idea of taking 3k,3K+1,3K+2 was very interesting.. thanks

I loved the question D..

thanks

he made the question and god knows the proof ..