kindly helpo in finding bug in my submission 282405113 for problem 1978D - Elections.i tried to run some test cases but am not able to find the failing test
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
kindly helpo in finding bug in my submission 282405113 for problem 1978D - Elections.i tried to run some test cases but am not able to find the failing test
Название |
---|
can someone find the failing test case using stress test
can someone help?
yes bro actually i have discovered the testcase on which your code is going wrong is:- n=5,c=0 a={1,0,0,0,1}; the output for this should be 0 1 2 3 4 but your code is giving the output 0 1 2 4 4. please fix this error. if even after that you are facing the problem tell me the logic you have used,may i help you. i am attaching my submission,that i solved[submission:266644623] for the reference. hopefully it would work.
`