正文
增加 4 行删除 4 行
14 行未改动1516171819202122232422 行未改动474849505152535455565758596061625 行未改动14 行未改动cout<<"欢迎使用题目随机器!\n";cout<<"输入 P 可生成洛谷P系列题目\n";cout<<"输入 B1 可生成洛谷B系列2001-2148题\n";cout<<"输入 B2 可生成洛谷B系列3600-3821题\n";cout<<"输入 Y 可生成一本通系列1000-2067题\n" ;cout<<"输入 UVA 可生成洛谷UVA系列100-13292题\n" ;cout<<"按下 ctrl+z 可结束\n";cout<<"请期待第二版!\n";cout<<"敬请享受coding的欢乐吧!\n";string a;22 行未改动int z=rand()%(2067-1000+1)+1000;string s=To_string(z);const string st="start http://ybt.ssoier.cn:8088/problem_show.php?pid="+s;system(st.c_str());}else if(a=="UVA"){int z=rand()%(13292-100+1)+100;string s=To_string(z);const string st="start https://www.luogu.com.cn/problem/UVA"+s;system(st.c_str());}else{cout<<"我不理解您的意思,请检查字母大小写等问题!\n";}}5 行未改动14 行未改动1516171819202122232422 行未改动474849505152535455565758596061625 行未改动14 行未改动cout<<"欢迎使用题目随机器!\n";cout<<"输入 P 可生成洛谷P系列题目\n";cout<<"输入 B1 可生成洛谷B系列2001-2148题\n";cout<<"输入 B2 可生成洛谷B系列3600-3821题\n";cout<<"输入 Y 可生成一本通系列1000-2067题\n" ;cout<<"输入 UVA 可生成洛谷UVA系列100-13292题\n" ;cout<<"按下 ctrl+z 可结束\n";cout<<"请期待第二版!\n";cout<<"敬请享受coding的欢乐吧!\n";string a;22 行未改动int z=rand()%(2067-1000+1)+1000;string s=To_string(z);const string st="start http://ybt.ssoier.cn:8088/problem_show.php?pid="+s;system(st.c_str());}else if(a=="UVA"){int z=rand()%(13292-100+1)+100;string s=To_string(z);const string st="start https://www.luogu.com.cn/problem/UVA"+s;system(st.c_str());}else{cout<<"我不理解您的意思,请检查字母大小写等问题!\n";}}5 行未改动