跳到正文

休闲·娱乐

抽卡模拟器0.1

8140luyihang约 3 分钟
原文
文章信息与版本

文章信息

发布
2025年8月5日
收录
2026年2月9日
更新
2026年10月12日
篇幅
约 3 分钟

版本

  1. v2当前
  2. v1

抄袭可耻!!!

#include
#include <windows.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define el "\n"
const ll N=1e5+5;
//vector<ll> v;
ll p,ans,a=0;
ll b=0,cnt1,cnt=1;
void solve()
{
	std::ios::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
	srand(time(0));
    ll m=18;

    cin>>p;
    if(p==0)
    {
		cout<<"您以抽 "<<cnt1<<" 抽了,其中出了 "<<a+b<<" 个金\n其中当期UP '大山' 出了 "<<a<<"只";

	}
    for(int i=1;i<=p;i++){
    	cnt1++;
    	ans=0;
        ll t=rand()%100+1;
        ll k=rand()%2+1;
        if(!(t==m||cnt==80))
		{
			cout<<i<<": 屎~"<<' '<<"("<<cnt<<")"<<"  ";
			cnt++;
        }
		else{
			system("color 06");
			printf("\n $ $ $ $ $  \n");

			Sleep(0500);

			if(k==1)
			{
				printf("  大山 \n(%lld)\n",cnt);
				ans++;
				a++;
			}
			else
			{
				printf("  隔壁老师 \n(%lld)\n",cnt);
				ans=2;
				b++;
			}
			Sleep(1000);
			system("color 07");

			cnt=0;
		}
        if(t==m) ans++;
    }

}
int main()
{
	cout<<"本期卡池:"<<"大山"<<endl<<"目前歪池:"<<"隔壁老师"<<'\n'<<"输入抽数,0查询\n\n";
    //freopen(" .in","r",stdin);
    //freopen(" .out","w",stdout);
    int T=1;//cin>>T;
    while(T)
	{
        solve();
		if(ans!=0)
		{
			ans=0;
			cout<<"爆"<<"金!!!好抽!!!!!";
			Sleep(0200);
		}
        cout<<endl;

    }
    return 0;
}

模拟器抽卡 限沃土

原文