v1.0.0
//工具->编译选项-> "-std=c++11"
#include<bits/stdc++.h>
#include<Windows.h>
#define p printf
using namespace std;
int rand()
{
mt19937 gen(time(0));
int a = gen();
return a;
}
int randd(int a,int b)
{
mt19937 gen(time(0));
uniform_int_distribution<> dis(a,b);
return dis(gen);
}
void t(string s)
{
for(int i=0;i<s.size();i++)
{
cout<<s[i];
Sleep(100);
}
cout<<endl;
}
void cs(int x)
{
int s=randd(1,5);
if(x>=95)
{
t("大吉,");
if(s==1)t("会在垃圾桶捡到被丢到的钻戒");
if(s==2)t("会被地上的钱包绊倒(我可不知道里面有多少钱)。");
if(s==3)t("玩刮刮乐会一发入魂(必中头奖)。");
if(s==4)t("考试会“考的全不会,蒙的全都对”(仅限选择题、判断题)");
if(s==5)t("被讹后索赔100万胜诉。");
}
else if(x>=85)
{
t("中吉,");
if(s==5)t("出意外时不会触发不死图腾、复活甲和“桃”,还能活下来。");
if(s==4)t("考试蒙的题只会错四分之一。");
if(s==3)t("玩刮刮乐会赚钱(起码是彩票价格的十倍)。");
if(s==2)t("在垃圾桶里捡到money,但不多(刚好能吃一顿)。");
if(s==1)t("被讹后警察蜀黍帮你辩护。");
}
else if(x>=75)
{
t("小吉,");
if(s==1)t("玩刮刮乐会刚好