When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

MRs_369's blog

By MRs_369, history, 4 years ago, In English

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. Thank's

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it +13 Vote: I do not like it

No you can't. As of why I can only guess but Codeforces pay people for a reason. They have the rights for these problems and if they give it away then you could see someone creating some mirror of the whole website taking away some of the traffic. I am sure despite cf being non-profit and not having ads they still want their website to be visited by as many people as possible.

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +2 Vote: I do not like it

    I am not sure this works as a reason. I, at least, would only want to be able to download the test cases after the contest is over, to allow me to understand my errors (see, for example https://codeforces.com/contest/1291/submission/70083431 where I know test 4 failed, but I have no idea what the input was). A site duplicating contests after they had finished on Codeforces would be of little value.

    Also, for problems in which the individual tests are small (which includes some of the most interesting ones) the complete test cases are available from the submission page.

    I know the ability to download test cases has been asked for many times, but if it is not being done as a matter of policy it would be very interesting to understand the reasons for this policy.