123199

· · 个人记录

我要在计算机课运行这个

(侵删)

#include<bits/stdc++.h>
#include<windows.h>
#include<ctime>
using namespace std;
//string a[]={"markkkk","daipengfeng_jv_ruo","chenyuan3","chenzhe","kkksc03","Miracle_InDream","aka_ms","hyc42","huyuchen","jinhangdong","IOI","NOI","NOIP","CSP-J","CSP-S","ZJOI","SB","qinshihuang","polar bear"};
//int as=19;
string a[]={"12","31"};
int as=2;
//string b[]={" 's npy is "," JC "," fuck "," eats "," C "," kills "," rides "," AK "};
//int bs=8;
string b[]={" 's npy is "," fuck "," c "," loves "};
int bs=4;
//string c[]={"'s npy","'s mother","'s friend","","","",""};
//int cs=7;
string c[]={""};
int cs=1;
string d[]={"Then,","Because of that,","In fact,","Then,","Because of that,"};
int ds=5;
void out(string s){
    for(int i=0;i<s.size();i++){
        cout<<s[i];
        Sleep(30);
    }
}
int main(){
    srand(time(0));
    out("Once apon a time,\n");
    Sleep(700);
    while(1){
        int h=rand()%as;
        int g=rand()%bs;
        int hh=rand()%as;
        int hg=rand()%cs;
        int gh=rand()%cs;
        int dd=rand()%ds;
        out(a[h]+c[hg]+b[g]+a[hh]+c[gh]+".\n");
        Sleep(700);
        out(d[dd]+"\n");
        Sleep(700);
    }
    return 0;
}