I'm unable to solve Problem C (Gary) of Codeforces Training Season 3 Episode 9. The contest is available on Gym. Link: http://codeforces.com/gym/101156.
Can someone please help me in solving this problem!!
# | User | Rating |
---|---|---|
1 | tourist | 3690 |
2 | jiangly | 3647 |
3 | Benq | 3581 |
4 | orzdevinwang | 3570 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | Radewoosh | 3509 |
8 | ecnerwala | 3486 |
9 | jqdai0815 | 3474 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 174 |
2 | awoo | 164 |
3 | adamant | 162 |
4 | TheScrasse | 160 |
5 | nor | 158 |
6 | maroonrk | 156 |
7 | -is-this-fft- | 152 |
8 | orz | 146 |
9 | pajenegod | 145 |
9 | SecondThread | 145 |
I'm unable to solve Problem C (Gary) of Codeforces Training Season 3 Episode 9. The contest is available on Gym. Link: http://codeforces.com/gym/101156.
Can someone please help me in solving this problem!!
After the contest, my submission got RunTime Error on Test Case #17. Link:- http://codeforces.com/contest/707/submission/19991308
I couldnt figure out my mistake. I tried making a few changes and finally got an AC. Link:- http://codeforces.com/contest/707/submission/20084074
The only difference is in the compare function. I still didnt understand why did my first code get a Run Time error. Please help me to understand what went wrong.
Name |
---|