include<ctime>
int make(int l,int r){return rand()%(r-l+1)+l;}
int main()
{
RG int n=0;
while(++n){
system("./rand");//需要先编译成可执行文件
system("./a");
system("./b");
if(!system("diff a.out b.out"))printf("AC
");//文件相同返回的函数值是0
else break;
}
puts("WA!!!");
return 0;
}
include<ctime>
int make(int l,int r){return rand()%(r-l+1)+l;}
int main()
{
srand(time(NULL)+rand());//随机化种子
printf("%d",make(1,n));
return 0;
}