#include<bits/stdc++.h>
#include <windows.h>
using namespace std;
int w,n=0,m,num,y;
int main() {
cin>>m;
num=m*-20;
srand(time(NULL));
for(int i=0;i<m;i++){
w=rand()%30000+1;
y=rand()%9000+2020;
Sleep(200);
if(w>n){
n=w;
if(n>29900){
n=0;
cout<<"中奖了"<<" ";
num+=5000;
}
}
cout<<n<<" ";
}
cout<<endl;
cout<<num;
return 0;
}
超级彩票机
最新推荐文章于 2024-05-07 20:09:02 发布