I see the input in the test case is getting trimmed
1708A — 30
I really would like to know, where my code went wrong.
problem is 1708A — 30
and pretest case is 2.
| № | Пользователь | Рейтинг |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 157 |
| 2 | adamant | 153 |
| 3 | Um_nik | 146 |
| 3 | Proof_by_QED | 146 |
| 5 | Dominater069 | 145 |
| 6 | errorgorn | 141 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | TheScrasse | 134 |
| 10 | chromate00 | 133 |
I see the input in the test case is getting trimmed
1708A — 30
I really would like to know, where my code went wrong.
problem is 1708A — 30
and pretest case is 2.
| Название |
|---|



You can't, however you can use cfstress.com which generates a test case that makes your code fail
Hey, thank you for answering. :)
I tried it but it is currently giving "An error occurred while downloading your submission. Probably Codeforces is down."
Oof. I don't know what to do because it sometimes has issues. Sorry :(
Hello, CF Stress does not support
C#submissions, hence the error.Oh ok
Does cfstress.com works also for ongoing contest ?
Ofc not, but you can stress test on your own. It's not hard. You just need to generate random tests and compare an absolutely true brute force solution with your own solution and find a test where it fails.
For example, if your code failed in 143 test case u can make some int f = 1, and after each test case increase f, when f will become 143 output input (if input is 1 3 5 output "1,3,5"). This helps if there was not any test before which has more testcase than where your code failed (in above example 143) because code will fail before. Also I recommend to check editorial, its faster way to understand your mistake.
Hey, thanks for answering!
I still didn't your point though.
https://mirror.codeforces.com/contest/1708/submission/164525847
This is my submission. How will I get output input for 143 f for example as you can see it gets trimmed? Could you show me?
Your code fails on array = {2,3}
make if case like: if(difference from starting tc and current tc == testcase where your code failed) output input, for example your code failed in 43 testcase.
thank you so much! <3
One of the most goated comment i have ever read. This saved me from quitting codeforces.