Comments

I think this team (AllTimeLegend from Sogang univ) has not updated yet, maybe because I posted with a reply so can be missed easily

https://mirror.codeforces.com/blog/entry/138428?#comment-1237786

On MisukiCodeforces Round 967 (Div. 2), 20 months ago
+23

Misuki orz

On tokitsukazeCodeforces Round #789, 4 years ago
0

oh.. I was so stupid :(

The problems were so interesting and fun. Unlike other contests, AB was really good. I like them

Thx, that's what i needed

0

After k processes, the element x_i will be: gcd(x_i ~ x_{i+k}). To calculate this, You can use sparse table.

0

There is a solution with Sparse Table.

Thanks!

I think TL on problem C is too tight for Pypy3. Or I was wrong?

(Edit: I got TLE while system testing.)

code