Submitted 4 years 8 months 1 day ago
Sat Feb 29 17:55:28 CST 2020
Judger: ZJS
Dataset Version: v0
0 ms /
0 KB
Final
0
Problem: lss4.tail
Language: GNU C++ 11
#include <bits/stdc++.h>
#include "testlib.h"
using namespace std;
int main(int argc,char** argv){
registerGen(argc,argv,1);
int limit=atoi(argv[1]);
int w=atoi(argv[2]);
int nine=atoi(argv[3]);
int q=rnd.wnext(1,limit,w);
cout<<q<<endl;
for(int i=0;i<q;i++){
string op=rnd.next("renshuu|gisei|shukufuku|shitsumon");
cout<<op<<" ";
if(op=="renshuu"){
cout<<rnd.next(1,nine)<<" "<<rnd.next(1,nine)<<endl;
}else{
cout<<rnd.next(1,nine)<<endl;
}
}
}
Compilation Error: Main.cpp:2:10: fatal error: testlib.h: No such file or directory #include "testlib.h" ^~~~~~~~~~~ compilation terminated.