#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
srand(time(0));
for(int x=1; x<5; x++)
{
cout<<rand()<<endl;
}
for(int x=1; x<5; x++)
{
cout<<1+(rand()%20)<<endl;
}
}
网友评论