Generating testcases whose sum of parameters is bounded by a given value

Правка en1, от Newtech66, 2020-07-12 10:49:16

In newer problems on CodeForces and other sites, I usually see multi-test inputs that say something like "it is guaranteed that sum of $$$n$$$ over all testcases does not exceed XXXXX".

I am unable to figure out how to implement such a generator in Polygon. Can someone tell me how exactly I should go about this?

Теги #help, #polygon


  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Newtech66 2020-07-12 10:49:16 384 Initial revision (published)