#include <bits/stdc++.h> typedef long long ll; typedef double dou; using namespace std; int suiji(int mod){ srand(int(time(NULL))); int tmp=(rand()*rand())*mod; return tmp; } int main(){ return 0; }
其中mod是随机数产生完需要mod的数 一般是你自己题目的数据范围上限