luogu-dev / cyaron

CYaRon: Yet Another Random Olympic-iNformatics test data generator
GNU Lesser General Public License v3.0
1.35k stars 168 forks source link

Update README.md #97

Closed zzh-2020-00 closed 1 year ago

zzh-2020-00 commented 1 year ago

样例应当简单易懂,使用图论作为样例不容易让新手用户迅速上手。

kkksc03 commented 1 year ago

You are right, but your example is not Halal.

Specifically, you need to use ati to construct a list that represent data ranges. In each test case, record the upper limit using a single variable like _a=data_num[i]. When generating data, this format can be used: randint(1, _n). Isn't it very concise?