语言标准:GNU C++11
C++#include<bits/stdc++.h>
#define double long double
#define mem(x,n) memset(x, n, sizeof(x));
#define forup(i,x,y,z) for(int i = x; i <= y; i += z)
#define fordown(i,x,y,z) for(int i = x; i >= y; i -= z)
#define number(i) isdight(i)
#define ischarl(i) i >= 'a' && i <= 'z'
#define ischarb(i) i >= 'A' && i <= 'Z'
#define up(d) ceil(d)
#define half_adjust(d) round(d)
using namespace std;
typedef long long ll;
const int N=105;
const int NN=3005;
const int NNN=1000005;
const int im=INT_MAX;
const int MOD=1e9;
int power(int a, int b);
int gcd(int x,int y);
int lcm(int x,int y);
int main(){
// freopen(".in","r",stdin);
// freopen(".out","w",stdout);
// ios::sync_with_stdio(false);
// cin.tie(0);
// cout.tie(0);
srand(time(nullptr));
int q = rand() % 8, w = rand() % 10;
while(w--){
for(int i = 0; i <= 7; i++){
int t = i;
if(t == 0){
cout << "You're SB";
}else if(t == 1){
cout << "You're 傻逼";
}else if(t == 2){
cout << "You're 大聪明";
}else if(t == 3){
cout << "You're 大孝子";
}else if(t == 4){
cout << "You're 马牛逼";
}else if(t == 5){
cout << "You're MC玩家";
}else if(t == 6){
cout << "You're mini玩家";
}else if(t == 7){
cout << "You're 天才";
}
system("cls");
// cout << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
}
}
int t = q;
if(t == 0){
cout << "You're SB";
}else if(t == 1){
cout << "You're 傻逼";
}else if(t == 2){
cout << "You're 大聪明";
}else if(t == 3){
cout << "You're 大孝子";
}else if(t == 4){
cout << "You're 马牛逼";
}else if(t == 5){
cout << "You're MC玩家";
}else if(t == 6){
cout << "You're mini玩家";
}else if(t == 7){
cout << "You're 天才";
}
return 0;
}
int power(int a, int b){int ans = 1, aa = a;while(b){if(b & 1){ans *= aa;ans %= MOD;}aa *= aa;aa %= MOD;b >>= 1;}return ans;}
int gcd(int x,int y){if(y == 0){return x;} return gcd(y, x % y);}
int lcm(int x,int y){return x * y / gcd(x,y);}