📅  最后修改于: 2022-03-11 14:44:49.935000             🧑  作者: 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<<" ";