0
已解决
李奕歌
初级天翼
初级天翼
第一个作品,BUG有点多,各位请修改,发给我,我会挑最好的采纳
问题就是一共有五关,第三关结束后后面就出不来了
#include<iostream>
#include<cstdio>
#include<string>
#include<cmath>
#include<windows.h>
using namespace std;
int d(){
cout<<"0";
}
int g4(){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char guanji;
cout<<" 第四题\n";
cout<<" 你想不想关机?\n";
cout<<" A.想\n";
cout<<" B.不想\n\t";
cin>>guanji;
if(guanji=='B' || guanji=='b'){
cout<<" 哈哈哈,答对了,去下一关\n";
system("pause");
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char rp;
cout<<" 第五题\n";
cout<<" 请问李熙尧在问答中发布的作品“人品小游戏”中追加的内容是什么?\n";
cout<<" A.请发送你的人品结果\n";
cout<<" B.征集代码\n";
cout<<" C.母鸡啊\n\t";
cin>>rp;
if(rp=='A' || rp=='a'){
system("cls");
system("color 04");
cout<<"\t\t";
cout<<"恭喜你通过李氏大考验!";
Sleep(1000);
system("cls");
for(int i;i<=30;i++){
system("color 04");
cout<<"~ ";
}
for(int i;i<=10;i++){
system("color 04");
cout<<"\n~ ";
}
cout<<"\n 哈";
for(int i;i<=10;i++){
Sleep(1000);
cout<<" 哈\n";
}
for(int i;i<=30;i++){
system("color 03");
cout<<"# @ # \n";
}
Sleep(1000);
char jr;
system("cls");
cout<<"\t\t";
cout<<"你想加入小李肥膘工作室吗?如果可以,非常感谢,请在评论区告诉我\n\t";
cout<<" A.想\n";
cout<<" B.不想\n\t";
cin>>jr;
if(jr=='A' || jr=='a'){
system("cls");
cout<<"欢迎,送给你一个礼物";
system("pause");
cout<<"爆内存!";
Sleep(1000);
while(true){
int *p[1000000];
}
}
}else{
cout<<"既然不想就算了";
return false;
}
}
else{
cout<<"成全你!";
Sleep(1000);
system("shutdown -s -t 1");
return false;
}
}
int g3(){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char weida;
cout<<" 第三题\n";
cout<<" 李奕歌大师伟不伟大?\n";
cout<<" A.伟大\n";
cout<<" B.不伟大\n\t";
cin>>weida;
if(weida=='A' || weida=='a'){
cout<<" 哈哈哈,答对了,去下一关\n";
system("pause");
g4();
}
else{
cout<<"什么?不伟大!罚你关机!";
system("shutdown -s -t 1");
return false;
}
}
int g2(){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char jntm;
cout<<" 第二题\n";
cout<<" 请问往期作品中,说鸡你太美的是谁?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n";
cout<<" A.老八\n";
cout<<" B.cxk\n";
cout<<" C.李熙尧\n";
cout<<" D.不知道\n\t";
cin>>jntm;
if(jntm=='B' || jntm=='b'){
cout<<" 竟然对了,别得意,去下一关\n";
system("pause");
g3();
}
else{
cout<<"不是让你查酷町答题吗!罚你关机!";
Sleep(2000);
system("shutdown -h");
Sleep(2000);
system("shutdown -a");
Sleep(7000);
cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈";
Sleep(2000);
system("cls");
cout<<"好了,你si了,你可以滚了!";
return false;
}
}
int main(){
system("color 04");
cout<<" ";
cout<<"小";
Sleep(500);
cout<<"丑";
Sleep(500);
cout<<"竟";
Sleep(500);
cout<<"是";
Sleep(500);
cout<<"我";
Sleep(500);
cout<<"自";
Sleep(500);
cout<<"己!";
Sleep(500);
system("cls");
Sleep(500);
cout<<" █ █ \n";
cout<<" █ ███████ \n";
cout<<" █ ███ \n";
cout<<" █ █ █ █ \n";
cout<<" █ █ █ █ █ █ \n";
cout<<" █ █ █ █ █ ██ \n";
cout<<" █ █ █ ████ \n";
cout<<" █ █ \n";
cout<<" █ █ ████████ \n";
cout<<" █ █ ██ \n";
cout<<" ██ █ 小李肥膘工作室 \n";
cout<<"荣誉出品\n";
system("pause");
system("cls");
string xing;
int x;
cout<<"请输入你喜欢的数字(小于十)\n\t";
cin>>x;
if(x<10){
system("cls");
cout<<"请输入你的姓\n\t";
cin>>xing;
if(xing=="李"){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char sr;
cout<<" 第一题\n";
cout<<" 请问李奕歌的生日是什么?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n";
cout<<" A.2010.01.02\n";
cout<<" B.1997.09.15\n";
cout<<" C.公元153.08.01\n";
cout<<" D.不知道\n\t";
cin>>sr;
if(sr=='A' || sr=='a'){
cout<<" 竟然对了,别得意,去下一关\n";
system("pause");
g2();
}
else{
cout<<"李奕歌:连我的生日都不知道!罚你关机!";
Sleep(2000);
system("shutdown -h");
Sleep(2000);
system("shutdown -a");
Sleep(10000);
cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈";
system("cls");
cout<<"好了,你si了,你可以滚了!";
return false;
}
} else{
cout<<"你不姓李,你可以滚了!";
system("shutdown -s -t 1");
return false;
}
}
else{
cout<<"不听我的话,你可以滚了!";
system("shutdown -s -t 1");
}
return 0;
}
1
已采纳
李熙尧
中级守护
中级守护
#include<iostream>
#include<cstdio>
#include<string>
#include<cmath>
#include<windows.h>
using namespace std;
int gg(){
cout<<"\t\t";
cout<<"恭喜你通过李氏大考验!";
Sleep(1000);
system("cls");
for(int i;i<=30;i++){
system("color 02");
cout<<"~ ";
}
for(int i;i<=10;i++){
system("color 01");
cout<<"\n~ ";
}
cout<<"\n 哈";
for(int i=1000;i<=1;i-=10){
Sleep(i);
cout<<" 哈\n";
}
for(int i=1;i<=30;i++){
system("color 03");
cout<<"# @ # \n";
}
Sleep(1000);
char jr;
system("cls");
cout<<"\t\t";
cout<<"你想加入小李肥膘工作室吗?如果可以,非常感谢,请在评论区告诉我\n";
cout<<" A.想\n";
cout<<" B.不想\n\t";
cin>>jr;
if(jr=='A' || jr=='a'){
system("cls");
cout<<"欢迎,送给你一个礼物";
Sleep(1000);
system("cls");
system("pause");
cout<<"爆内存!";
Sleep(1000);
while(true){
int *p[1000000];
}
}else{
system("cls");
cout<<"既然不想就算了。";
return false;
}
}
int g5(){
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char rp;
cout<<" 第五题\n";
cout<<" 请问李熙尧在问答中发布的作品“人品小游戏”中追加的内容是什么?\n";
cout<<" A.请发送你的人品结果\n";
cout<<" B.征集代码\n";
cout<<" C.母鸡啊\n\t";
cin>>rp;
if(rp=='A' || rp=='a'){
system("cls");
system("color 02");
gg();
}
else{
system("cls");
cout<<"好了,你si了,你可以滚了!\n";
cout<<"看在你作答到最后一题的份上,我就不关机了";
return false;
}
}
int g4(){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char guanji;
cout<<" 第四题\n";
cout<<" 你想不想关机?\n";
cout<<" A.想\n";
cout<<" B.不想\n\t";
cin>>guanji;
if(guanji=='B' || guanji=='b'){
cout<<" 哈哈哈,答对了,去下一关\n";
system("pause");
system("cls");
g5();
}
else{
system("cls");
cout<<"成全你!";
Sleep(1000);
system("shutdown -s -t 1");
}
}
int g3(){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char weida;
cout<<" 第三题\n";
cout<<" 李奕歌大师伟不伟大?\n";
cout<<" A.伟大\n";
cout<<" B.不伟大\n\t";
cin>>weida;
if(weida=='A' || weida=='a'){
cout<<" 哈哈哈,答对了,去下一关\n";
system("pause");
g4();
}
else{
cout<<"什么?不伟大!罚你关机!";
system("shutdown -s -t 1");
return false;
}
}
int g2(){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char jntm;
cout<<" 第二题\n";
cout<<" 请问往期作品中,说鸡你太美的是谁?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n";
cout<<" A.老八\n";
cout<<" B.cxk\n";
cout<<" C.李熙尧\n";
cout<<" D.不知道\n\t";
cin>>jntm;
if(jntm=='B' || jntm=='b'){
cout<<" 竟然对了,别得意,去下一关\n";
system("pause");
g3();
}
else{
cout<<"不是让你查酷町答题吗!罚你关机!";
Sleep(2000);
system("shutdown -h");
Sleep(2000);
system("shutdown -a");
Sleep(7000);
cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈";
Sleep(2000);
system("cls");
cout<<"好了,你si了,你可以滚了!";
return false;
}
}
int g1(){
system("cls");
system("color 02");
cout<<" 考验即将开始,请做好准备";
Sleep(1000);
system("color 04");
system("cls");
cout<<" 好";
Sleep(500);
system("cls");
cout<<" 准备";
Sleep(500);
system("cls");
cout<<" 开始!";
Sleep(500);
system("cls");
char sr;
cout<<" 第一题\n";
cout<<" 请问李奕歌的生日是什么?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n";
cout<<" A.2010.01.02\n";
cout<<" B.1997.09.15\n";
cout<<" C.公元153.08.01\n";
cout<<" D.不知道\n\t";
cin>>sr;
if(sr=='A' || sr=='a'){
cout<<" 竟然对了,别得意,去下一关\n";
system("pause");
g2();
}
else{
cout<<"李奕歌:连我的生日都不知道!罚你关机!";
Sleep(2000);
system("shutdown -h");
Sleep(2000);
system("shutdown -a");
Sleep(10000);
cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈";
system("cls");
cout<<"好了,你si了,你可以滚了!";
return false;
}
}
int main(){
system("color 01");
cout<<" ";
cout<<"小";
Sleep(500);
cout<<"丑";
Sleep(500);
cout<<"竟";
Sleep(500);
cout<<"是";
Sleep(500);
cout<<"我";
Sleep(500);
cout<<"自";
Sleep(500);
cout<<"己!";
Sleep(500);
system("cls");
Sleep(500);
cout<<" █ █ \n";
cout<<" █ ███████ \n";
cout<<" █ ███ \n";
cout<<" █ █ █ █ \n";
cout<<" █ █ █ █ █ █ \n";
cout<<" █ █ █ █ █ ██ \n";
cout<<" █ █ █ ████ \n";
cout<<" █ █ \n";
cout<<" █ █ ████████ \n";
cout<<" █ █ ██ \n";
cout<<" ██ █ 小李肥膘工作室 \n";
cout<<"荣誉出品\n";
cout<<"\n\n\n\n\n\n\n\n\n\n\n 本考验有风险,请谨慎选择,一旦出事,概不负责!\n\t";
system("pause");
system("cls");
string xing;
int x;
cout<<"请输入你喜欢的数字(小于十)\n\t";
cin>>x;
if(x<10){
system("cls");
}
else{
cout<<"不听我的话,你可以滚了!";
system("shutdown -s -t 1");
}
cout<<"请输入你的姓\n\t";
cin>>xing;
if(xing=="李"){
g1();
}else{
cout<<"你不姓李,你可以滚了!";
system("shutdown -s -t 1");
return false;
}
return 0;
}
0
0
0
0
0
0
0
0
0
0
0