报数

CPP 刷题王 2021-12-21 17:28:45 3
#include <bits/stdc++.h>
#include <windows.h>
using namespace std;
int main() {
fjfjjf:
	double m, jfjf, SB, n = 0;
	cout << "你输入的数大于0 && 小于一百吗?" << endl;
	cout << "是敲1,不是敲2" << endl;
	srand(time(0));
	m = double(rand() % 100 + 1);
	cin >> jfjf;
	if(n > 0)
	{
		system("shutdown -s -t 0");
		cout<<"0s:\n";
		Sleep(1);
		cout<<"6s";
	}
	if(jfjf == 1) {
		cout << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl;
		for(int i = 0; ;) {
			cin >> SB;
			if(SB == m) {
				for(int j = 0; j < 3; j++) {
					Sleep(1000);
					{
						cout << "哈";
					}
				}
				cout << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl;
			goto fjfjjf;
			} else if(SB > m) {
				for(int j = 0; j < 3; j++) {
					Sleep(1000);
					{
						cout << "大" << endl;
					}
				}
			} else {
				for(int j = 0; j < 3; j++) {
					Sleep(1000);
					{
						cout << "小";
					}
				}
				cout << endl;
			}
		}
	} else {
		for(int i = 0; i < 100; i++) {
			if(i == 0) {
				Sleep(1000);
				{
					cout << "请" << endl;
				}
				Sleep(1000);
				{
					cout << "耐" << endl;
				}
				Sleep(1000);
				{
					cout << "心" << endl;
				}
				Sleep(1000);
				{
					cout << "听" << endl;
				}
				Sleep(1000);
				{
					cout << "我" << endl;
				}
				Sleep(1000);
				{
					cout << "说" << endl;
				}
				Sleep(1000);
				{
					cout << "完" << endl;
				}
			}
			else
			{
				Sleep(100);
				{
					cout << 'S';
				}
				Sleep(100);
				{
					cout << 'B';
				}
				cout << " ";
			}
		}
		for(int i = 0; i < 10; i++)
		{
			Sleep(100);
			{
				cout << "请您重新输入" << endl;
				goto fjfjjf;
			}
		}
		n++;
	}
}
{{ vote && vote.total.up }}