Comments
On KANRounding 2025, 4 months ago
0

I hope that the late night debugging , early morning upsolving , day-night problem solving grind , gives you what you deserve :) this year. A very very happy new year all of you!!!

On AmirrzwMCodeforces Global Round 31, 4 months ago
+1

for n=30 and k=4 , it fails.. answer should be 29 27 23 15

Geometryforces!!! :(

0

xD

0

I made the array (p) 0 to r then started iterating from r (i=r to 0) , calculated the number x which has opposite bits of i (for example if i=9 (1001) then x=6 (110)) then swapped p[i] and p[x] , and also maintained boolean array (if a number is already swapped once then it will not swapped again). Hope it helps :P

On BernatPCodeforces Global Round 29, 7 months ago
+4

though I guessed by intuition , each i from 1 to n-1 will have distance 2i , and n will have distance n. So the sequence would be like n , n-1 , n-2 , ..... , 1 , n , 1 , 2 , 3 , ..... n-1

On BernatPCodeforces Global Round 29, 7 months ago
0

Guessforces!

On BernatPCodeforces Global Round 29, 7 months ago
0

Hoping that the small baby in my DP (display picture not dynamic programming ^_^) will smile till end of September :).

lol sad

<1400 , above 1400 rating , you can participate , but you will be out of competition (basically unrated)

+2

Hopefully I could be out of competition in the upcoming div4 :P