Блог пользователя Erfan.aa

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

Hello Codeforces,

I'm here to introduce Testsaz to you.

Testsaz is a fast, minimal test-case generator system for ICPC-style and IOI-style problems.

It can be helpful when you're preparing some problems for algorithmic contest and Algorithm Design and Data Structures courses.

Here you are: Testsaz GitHub repository

Any feedbacks and contributions are welcomed.

Good luck!

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

»
4 года назад, # |
  Проголосовать: нравится +11 Проголосовать: не нравится

Don't forget to use testlib or srand(time(0)); in your generator. Testsaz generates input files with a 1 second time delay, so using only srand(time(0)); suffices for obtaining random and different input files.

This feature doesn't make too much sense for two reasons,

  • if I have 60 test cases and most of them are rather small, I'll need to wait 1 minute anyway to generate the input.
  • For problems preparation, you want to be able to generate the same "random" test case, usually doing srand(test_seed); instead of srand(time(0));.
  • »
    »
    4 года назад, # ^ |
    Rev. 2   Проголосовать: нравится +5 Проголосовать: не нравится

    Yeah, you're right. I knew these before you tell me. I will make it better in the next versions (commits). Thanks.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Hey mnaeraxr, I updated Testsaz. This issue has been resolved, so you can check it again. Thanks again.