#include<iostream>
#include<cstdio>
#include<cmath>
#include<cstdlib>
#include<ctime>
#include <windows.h>
#include<cstring>
#include<algorithm>
#include<iomanip>
#include <conio.h>
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cout<<"|||||||||||||||||||||||||||||||"<<endl<<endl<<"|||||||||||||||||||||||||||||||"<<endl<<endl<<"|||||||||||||||||||||||||||||||"<<endl<<endl;
cout<<"在那天 雨夜 不可置信 奇怪地点 绝密——————出自一位失踪者的日记"<<endl;
cout<<"在那天 雨夜 不可置信 奇怪地点 绝密 机关 岩浆——————出自一位失踪警察的日记"<<endl;
cout<<"在那天 雨夜 不可置信 奇怪地点 绝密 机关 岩浆 真相 尝试 逃脱——————出自一位失踪科学家的日记"<<endl;
Sleep(5000);
cout<<"你是一位程序员,被一起雨夜连环失踪案吸引"<<endl;
cout<<"你打算先去警察局“借”点数据"<<endl<<"请勿模仿";
cout<<"你来到了警察局,警局的密码等于门上的数相乘,门上的数每使用一次就会随机另外一对"<<endl<<"你可以编代码来计算"<<endl;
while(1){
srand(time(0));
a=rand()%100+1;
b=rand()%100+1;
cout<<"现在门上的数是"<<a<<" "<<b<<endl<<"请输入";
cin>>c;
if(c==a*b){
cout<<"你成功打开了大门";
break;
}else{
cout<<"密码错误";
}
}
//未完待续
return 0;
}