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.
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
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
Ur a lifesaver bro!! very smart idea man. thanks.