Can someone tell how for S>=2N Petya wins in the following problem with also the approach? Problem Link [](http://https://codeforces.net/contest/1355/problem/D)
I am not able to get the editorial and the approach. Please Help.
# | User | Rating |
---|---|---|
1 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | atcoder_official | 160 |
4 | Um_nik | 160 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 151 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
Problem D
Can someone tell how for S>=2N Petya wins in the following problem with also the approach? Problem Link [](http://https://codeforces.net/contest/1355/problem/D)
I am not able to get the editorial and the approach. Please Help.
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en3 | ayush29azad | 2021-12-08 08:05:23 | 56 | |||
en2 | ayush29azad | 2021-12-08 07:05:21 | 61 | Tiny change: 'blem/D) \nI am not' -> 'blem/D) \n\nI am not' | ||
en1 | ayush29azad | 2021-12-08 07:04:31 | 301 | Initial revision (published) |
Name |
---|