0
1
已采纳
0
0
0
#include<iostream>
#include<ctime>
#include<cstdlib>
using namwespace std;
int main()
{
int a;
srand(timt(NULL));
a=rand()%10+1;
cout<<a<<endl;
a=rand()%10+1;
cout<<a;
}
0
#include<iostream>
#include<ctime>
#include<cstdlib>
using namespace std;
int main()
{
int a;
srand(timt(NULL));
a=rand()%10+1;
cout<<a<<endl;
a=rand()%10+1;
cout<<a;
}
0
0
0
#include<iostream>
#include<ctime>
#include<cstdlib>
using namwespace std;
int main()
{
int a;
srand(timt(NULL));
a=rand()%10+1;
cout<<a<<endl;
a=rand()%10+1;
cout<<a;
}
0
0