Блог пользователя fiver

Автор fiver, 14 лет назад, По-английски

Does anyone know how can I download the full test cases for a particular problem? And if this is not possible, WHY is it not possible? Is that intentional?

One of my problems failed today and I wanted to debug it, but the test case is truncated because it's too long.

Thanks, Petar

  • Проголосовать: нравится
  • -7
  • Проголосовать: не нравится

»
14 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

It is not possible. And, in my opinion, is is useless. I really do not understand how are you going to debug large test.

  • »
    »
    14 лет назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится 0 Проголосовать: не нравится

    Not exactly...

    There can be several reasons:

    1. If it is time limit, you can see how off you are and try different optimizations.
    2. There are cases where the system errors, so this way you can check — during the last contest a correct solution of mine was judged as incorrect. I messaged Mike and it got fixed (although, he didn't reply to me, so I don't know for sure).
    3. If it is a runtime error, it is pretty easy to debug — just see where the error is. This last contest I got a runtime error on 23th test case... (So I actually suspect that the solution is in fact correct and the judge was wrong again, but I have no way to check that).

    Here is the reference: http://mirror.codeforces.com/contest/155/submission/1225347 Can you point the error to me?

»
14 лет назад, скрыть # |
 
Проголосовать: нравится +25 Проголосовать: не нравится

I think codeforces is human enough,for it can make short tests public.Some websites which are similar to codeforces don't promulgate any tests.

»
12 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

If problem is time limit you can create mashup contest which consists that problem and set time limit huge to see how fast your code.

»
9 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

You can get input size of few hundreds by printing the input as output in parts.