📅  最后修改于: 2022-03-11 14:44:46.917000             🧑  作者: Mango
#include
#include
using namespace std;
//Generate random numbers
int main(){
srand(time(0));
for (int i = 0; i < 10; i++){
cout<< (rand() % 10) + 1<<" ";