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

Автор happymore, история, 4 года назад, По-английски

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 :)

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

»
4 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +16 Проголосовать: не нравится

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
»
4 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

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.