- BC20260050's blog
七声召唤(未编完)
- 2024-6-17 12:15:54 @
#include<bits/stdc++.h>
#include<windows.h>
#define int long long
using namespace std;
string yuan[8]={"雷","岩","水","冰","火","草","风","万能"};
int sh[2][8],pler=1;
void shai(int x){
for(int i=0;i<8;i++){
int ra=rand()%8*rand()%8;
sh[x][i]=ra;
}
}
void write(){
for(int i=0;i<8;i++){
if(sh[pler][i]<7)cout<<yuan[sh[pler][i]]<<" ";
}
cout<<endl;
}
signed main(){
srand(time(0));
while(1){
pler=(pler+1)%2;
write();
}
return 0;
}