How to generate distinct numbers with testlib.h?

Revision en1, by Pumkinhead_Me, 2025-11-29 00:52:12

Let's say I have a big range (<= 1e9) from l to r. I need to generate N distinct numbers from this range using testlib. What would be the cleanest way to do that?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Pumkinhead_Me 2025-11-29 00:52:12 210 Initial revision (published)