Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

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

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

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
  • Проголосовать: не нравится

»
2 года назад, # |
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
  • »
    »
    2 года назад, # ^ |
      Проголосовать: нравится +61 Проголосовать: не нравится
    Don't click again.
  • »
    »
    2 года назад, # ^ |
      Проголосовать: нравится +21 Проголосовать: не нравится

    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 года назад, # ^ |
      Проголосовать: нравится +10 Проголосовать: не нравится

    Thank you very much! Just want to know :)

»
2 года назад, # |
  Проголосовать: нравится 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.