Комментарии
На Kogut_IvanCodeforces Round 1043 (Div. 3) Editorial, 8 месяцев назад
0

the problem D is so hard that i can't understand ,anyone could help me?

На Kogut_IvanCodeforces Round 1043 (Div. 3) Editorial, 8 месяцев назад
+1

Greedly to buy smaller groups,greedly to make biggest smaller.

На bestial-42-centroidsCodeforces Round #1039 — Editorial, 9 месяцев назад
0

I got it.You are so smart.

На bestial-42-centroidsCodeforces Round #1039 — Editorial, 9 месяцев назад
0

I have understand it.Thank you very much!It's based on the relationship between now and future. I have some thoughts:This method is beautiful! But i think it's not better than the tourial because it use O(n) dp vector while the tourial not use.

На bestial-42-centroidsCodeforces Round #1039 — Editorial, 9 месяцев назад
0

I can't understand why the total contribution of pi and pi+1 remains n — i ,could other friends help me?Thanks.