- 分享
自动选题机
- 2023-3-10 19:11:04 @
#include<bits/stdc++.h>
#include<time.h>
using namespace std;
int main(){
int x;
for(;;system("pause")){
system("cls");
cout<<" ↓题目类型 网址↓\n" ;
cout<<"┏━━┳━━━━━━━━━━━━━━━━┓\n";
x=rand()%30+1;
cout<<"┃入门┃"<<"https://hydro.ac/d/zsyzoj/p/";
printf("%.4d",x);
cout<<"┃\n┣━━╋━━━━━━━━━━━━━━━━┫\n";
x=rand()%5+43;
cout<<"┃排序┃"<<"https://hydro.ac/d/zsyzoj/p/";
printf("%.4d",x);
cout<<"┃\n┣━━╋━━━━━━━━━━━━━━━━┫\n";
x=rand()%8+55;
cout<<"┃二分┃"<<"https://hydro.ac/d/zsyzoj/p/";
printf("%.4d",x);
cout<<"┃\n┣━━╋━━━━━━━━━━━━━━━━┫\n";
x=rand()%9+64;
cout<<"┃贪心┃"<<"https://hydro.ac/d/zsyzoj/p/";
printf("%.4d",x);
cout<<"┃\n┣━━╋━━━━━━━━━━━━━━━━┫\n";
x=rand()%5+160;
cout<<"┃递归┃"<<"https://hydro.ac/d/zsyzoj/p/";
printf("%.4d",x);
cout<<"┃\n┣━━╋━━━━━━━━━━━━━━━━┫\n";
x=rand()%12+166;
cout<<"┃宽搜┃"<<"https://hydro.ac/d/zsyzoj/p/";
printf("%.4d",x);
cout<<"┃\n┣━━╋━━━━━━━━━━━━━━━━┫\n";
x=rand()%33+179;
cout<<"┃ d p┃"<<"https://hydro.ac/d/zsyzoj/p/";
printf("%.4d",x);
cout<<"┃\n";
cout<<"┗━━┻━━━━━━━━━━━━━━━━┛\n";
cout<<"请复制到这网址栏\n\n";
}
return 0;
}
1 条评论
-
csy @ 2023-3-10 19:13:40
7,因为6炸了
- 1