#include<bits/stdc++.h>
using namespace std;
void czbz(){
srand(time(0));
int a=rand()%29+160;
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<i<<" "<<"0 0 0";
system("cls");
}
cout<<"0 0 0 0";
int y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<"0 "<<i<<" 0 0";
system("cls");
}
cout<<"0 1 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<"0 1 "<<i<<" 0";
system("cls");
}
cout<<"0 1 "<<a/10%10<<" 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<"0 1 "<<a/10%10<<" "<<i;
system("cls");
}
cout<<"0 1 "<<a/10%10<<" "<<a%10;
y=time(0);
while(time(0)-y<2);
system("cls");
cout<<"你获得了"<<a<<"个钻石";
system("pause");
system("cls");
int b=rand()%189+500;
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<i<<" "<<"0 0 0";
system("cls");
}
cout<<b/1000<<" 0 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<i<<" 0 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<i<<" 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<i;
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<b%10;
y=time(0);
while(time(0)-y<2);
system("cls");
cout<<"你获得了"<<b<<"个钻石";
system("pause");
system("cls");
b=rand()%789+1100;
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<i<<" "<<"0 0 0";
system("cls");
}
cout<<b/1000<<" 0 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<i<<" 0 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<i<<" 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<i;
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<b%10;
y=time(0);
while(time(0)-y<2);
system("cls");
cout<<"你获得了"<<b<<"个钻石";
system("pause");
system("cls");
b=rand()%3689+2200;
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<i<<" "<<"0 0 0";
system("cls");
}
cout<<b/1000<<" 0 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<i<<" 0 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<i<<" 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<i;
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<b%10;
y=time(0);
while(time(0)-y<2);
system("cls");
cout<<"你获得了"<<b<<"个钻石";
system("pause");
system("cls");
b=rand()%3500+6500;
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<i<<" "<<"0 0 0";
system("cls");
}
cout<<b/1000<<" 0 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<i<<" 0 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" 0 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<i<<" 0";
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" 0";
y=time(0);
while(time(0)-y<2);
system("cls");
for(int j=0;j<=5;j++)
for(int i=0;i<=9;i++){
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<i;
system("cls");
}
cout<<b/1000<<" "<<b/100%10<<" "<<b/10%10<<" "<<b%10;
y=time(0);
while(time(0)-y<2);
system("cls");
cout<<"你获得了"<<b<<"个钻石";
system("pause");
system("cls");
}
int main(){
czbz();
return 0;
}
第一次:160~188
第二次:500~688
第三次:1100~1888
第四次:2200~5888
第五次:6500~9999
你有没有这样的运气呢?
抽到的记得发评论!