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

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

Generating test cases is no stranger with cp-er, especially in offline competition (such as Olympic...)

Today I also have one question about this skill. Specifically, I want to ask about bat file

When I want to generate and compare brute forces code and AC code, I create one bat file and put these commands and run by cmd

generator.exe

full.exe

slow.exe

fc /w output.out output.txt, where output.out is output of AC code and output.txt is output of brute forces code.

I have some questions about this bat file:

  1. Do you have any commands that instead of running this file bat one by one by cmd (then it will run the above 3 exe files and compare the answers once time), I can run any number of times I want then it will compare these codes many times for me ?

  2. If yes, how can I stop when two codes have different answers, as I want to see and take the test case that I have the wrong answer.

  3. With you, do you have a more convenient way to compare brute and full code ? Can you share it with me and everyone ?

Thanks for helps

Полный текст и комментарии »

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

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

Hi everyone, today I have a question that is not related to expertise, hope everyone can help me to answer my questions soon.

As a title, I've been fond of codeforces submission's colors and fonts for a long time, but I can't find any IDE that like submission of codeforces (like this: 114794649). So today I'm writing this blog hoping someone knows an IDE like codeforces submission.

I used to try "custom test" of cf but I think it's different from what I want.

Thanks for reading T_T

Полный текст и комментарии »

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