Skip to content

random.h

Steven Meng edited this page Apr 4, 2020 · 2 revisions

函数

rand_int():生成随机 int 范围内整数。

rand_long_long():生成随机 long long 范围内整数。

random(l,r):生成 [l,r]​ 内整数,l,r 可以是 int 或者 long long

Clone this wiki locally