Someone please help me.It's showing wrong answer on testcase 2. I am attaching the submission below. https://codeforces.com/contest/1738/submission/174204534
# | User | Rating |
---|---|---|
1 | jiangly | 3640 |
2 | Benq | 3593 |
3 | tourist | 3572 |
4 | orzdevinwang | 3561 |
5 | cnnfls_csy | 3539 |
6 | ecnerwala | 3534 |
7 | Radewoosh | 3532 |
8 | gyh20 | 3447 |
9 | Rebelz | 3409 |
10 | Geothermal | 3408 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 173 |
2 | adamant | 164 |
3 | awoo | 162 |
4 | TheScrasse | 160 |
5 | nor | 159 |
6 | maroonrk | 156 |
7 | SecondThread | 154 |
8 | pajenegod | 147 |
9 | Um_nik | 145 |
9 | BledDest | 145 |
Someone please help me.It's showing wrong answer on testcase 2. I am attaching the submission below. https://codeforces.com/contest/1738/submission/174204534
Name |
---|
I assume that you only used case 7 as input. Copy the first 7 cases instead and then you should see the same output as on cf.
In the case of $$$k = 1$$$ you return early before reading in the input for s...
Thank you so so much!!!. I was struggling since yesterday. It got accepted.