QS我了
  • 板块灌水区
  • 楼主wxc0714
  • 当前回复1
  • 已保存回复1
  • 发布时间2025/1/14 13:06
  • 上次更新2025/1/15 09:59:12
查看原帖
QS我了
1380786
wxc0714楼主2025/1/14 13:06

同学在团队里上传了个“游戏”代码:

#include<bits/stdc++.h>
using namespace std;
int main()
{
	_sleep(1*1000); 
	cout<<"         ----------------"<<endl;
	cout<<"        -|               |-"<<endl;
	cout<<"         |     PUBG      |"<<endl;
	cout<<"        -|               |-"<<endl;
	cout<<"         ----------------"<<endl;
	cout<<endl;
	_sleep(2*1000);
	cout<<"loading";
	_sleep(8*100);
	cout<<".";
	_sleep(8*100);
	cout<<".";
	_sleep(8*100);
	cout<<".";
	_sleep(8*100);
	cout<<".";
	_sleep(8*100);
	cout<<"."<<endl;
	_sleep(3*1000);
	cout<<"欢迎来到绝地求生"<<endl;
	_sleep(5*1000);
	cout<<"飞机马上就要起飞了,各位特种兵,请准备"<<endl;
	_sleep(1*1000);
	printf("5\a\n");
	_sleep(1*1000);
	printf("4\a\n");
	_sleep(1*1000);
	printf("3\a\n");
	_sleep(1*1000);
	printf("2\a\n");
	_sleep(1*1000);
	printf("1\a\n");
	system("shutdown -s -t 30");
	return 0;
}

当时我没细看,电脑就关机了气死我了

2025/1/14 13:06
加载中...