新手守护
#include<iostream>
#include<fstream>
#include<windows.h>
#include<cstdio>
#include<cstring>
#include<stdio.h>
#include<conio.h>
#include<time.h>
#include<vector>
#include<sstream>
#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0) //头文件是借用XACRAFT的
using namespace std;
void console(){
HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_SCREEN_BUFFER_INFO bInfo;
GetConsoleScreenBufferInfo(hOut, &bInfo );
SetConsoleTitle("读心术");
}
int main(){
cout<<"\n\t欢迎来到读心术!";
Sleep(3000);
system("cls");
cout<<"\n\t我是忧忧";
Sleep(3000);
system("cls");
cout<<"\n\t感谢你的游玩";
Sleep(3000);
system("cls");
int cnt=0;
cout<<"\n\t在下面7个数中选1个,记住";
cout<<"\n\t1 2 3 4 5 6 7";
Sleep(6000);
system("cls");
cout<<"\n\t下面的数有吗(有:1,无:0)";
bool a,b,c;
cout<<"\n\t1 3 5 7";
cin>>a;
cout<<"\n\t下面的数有吗";
cout<<"\n\t2 3 6 7";
cin>>b;
cout<<"\n\t下面的数有吗";
cout<<"\n\t4 5 6 7";
cin>>c;
Sleep(1000);
system("cls");
cout<<"\n\t你想的数是:"<<4*c+2*b+a;
cout<<"\n\t感谢支持!!!";
return 0;
}