#include "iostream"
#include "stdlib.h"
#include "stdio.h"
#include <time.h>
using namespace std;
//取0到8直接的随机数
int main()
{
srand(time(0));//设置随机数种子
int a,b;
for(int i=0;i<20;i++){
a=rand()%8+1;//随机数 % 8 = 0至7之间的数值 + 1 = 1-8之间的随机数
b=rand()%100+1;//随机数 % 100 = 0至99之间的数值 + 1 = 1-100之间的随机数
cout<<a<<"\n"<<b<<endl;
}
return 0;
}