happymore's blog

By happymore, history, 2 years ago, In English

I just want to know how neal downloads the sample cases to the local and uses the terminal to test the samples during the competition. please help me :)

  • Vote: I like it
  • +7
  • Vote: I do not like it

»
2 years ago, # |
Rev. 2   Vote: I like it +16 Vote: I do not like it

He hasn't made his scripts public. For downloading test cases you can use cf tool or write your own scripts. You can checkout ecnerwala's setup which is similar to neal.

Don't click
  • »
    »
    2 years ago, # ^ |
      Vote: I like it +61 Vote: I do not like it
    Don't click again.
  • »
    »
    2 years ago, # ^ |
      Vote: I like it +21 Vote: I do not like it

    Btw, why does everyone wants to know neal's setup? Will using the same setup make them as good as neal?

    They probably want to develop a fast enough workflow, or are just interested in the tools. However, no matter how optimized your setup is, the bottleneck in most contests is how fast you think/implement.

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

    Thank you very much! Just want to know :)

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This is how I download the sample cases and test my answer. This is my python script to get sample cases input and output data. It takes three variables as input. The first is contest ID, the second is the problem letter and the third is the sample case ordinal number. This is my python script to judge the answer.