直接上代码
建议全屏
#include<bits/stdc++.h>
#define r(x) (rand()%x)
using namespace std;
int main(){
system("color 02");
int i = 1 ;
while(1){
printf("%d",r(2));
if(i%145==0||i%347==0||i%85==0||i%203==0||i%101==0){
printf("\n");
}
if(i%3==0|i%5==0||i%7==0){
printf(" ");
}
if(i%10000==0){
system("color 04");
}
if(i%20000==0){
system("color 03");
}
if(i%30000==0){
system("color 05");
}
if(i%40000==0){
system("color 06");
}
if(i%50000==0){
system("color 02");
}
if(i%50000==0){
i=0;
}
i++;
}
return 0 ;
}