Problem D — Game With Array

Revision en3, by ayush29azad, 2021-12-08 08:05:23

Can someone tell how for S>=2N, Petya wins in the following problem with also the approach?

Problem Link:https://codeforces.net/problemset/problem/1355/D I am not able to get the editorial and the approach. Please Help. !!!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English ayush29azad 2021-12-08 08:05:23 56
en2 English ayush29azad 2021-12-08 07:05:21 61 Tiny change: 'blem/D) \nI am not' -> 'blem/D) \n\nI am not'
en1 English ayush29azad 2021-12-08 07:04:31 301 Initial revision (published)