#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() {int A[50]; int i; srand(time(NULL)); for (i=0; i<50; i++) {A[i]=rand()%100; cout<<A[i]<< " "; } return 0; }
Standard input is empty
60 20 72 20 51 6 42 59 89 78 94 95 1 9 68 63 53 47 11 64 4 45 6 20 75 85 6 18 74 64 67 34 36 39 7 88 46 1 99 35 79 45 82 32 7 50 96 60 98 59