Closed zzh-2020-00 closed 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?
样例应当简单易懂,使用图论作为样例不容易让新手用户迅速上手。