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

Revision en1, by 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?

Tags #help, #polygon

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Newtech66 2020-07-12 10:49:16 384 Initial revision (published)