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

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

It would be very helpful if you could provide me with some kind of documentation.

Thanks in advance!

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

»
2 года назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится
»
2 года назад, # |
Rev. 2   Проголосовать: нравится +18 Проголосовать: не нравится

https://codeforces.com/testlib

On the right side, you should see Generators, Validators, Checkers and Interactors. That should be almost everything you need.

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

    Thank you!

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

      Another thing I forgot to mention: at the beginning of testlib.h, on the latestFeatures array, you can find some pretty useful features that aren't mentioned in those blogs, such as rnd.partition(useful for, for example, randomly distributing the values of $$$n$$$ over $$$t$$$ test cases while making multitest with a limit on the sum of $$$n$$$) and opts(to make the command line for generators a lot more readable than just numbers one after another)