Electr0's blog

By Electr0, history, 3 years ago, In English

Problem link — https://codeforces.net/problemset/problem/1355/D

I was able to prove that if S>=2*n, then Petya can always win (same logic which is given in the tutorial). But I am not able to prove that if S<2*n then Petya will always lose. How to prove that?

  • Vote: I like it
  • -19
  • Vote: I do not like it

| Write comment?