fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. srand( time(0) );
  6. // your code goes here
  7. for (auto i=0; i < 100; i++) cout << rand() % 12 + 1 << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
12
10
9
7
11
7
12
9
5
10
12
9
10
5
8
7
8
8
8
9
6
11
5
5
12
5
7
5
2
3
10
1
1
6
11
3
1
2
3
5
3
2
6
12
6
5
11
1
4
6
1
1
8
9
6
7
5
4
12
6
6
1
11
10
11
1
12
11
7
2
7
9
3
4
1
12
9
3
1
4
8
1
5
7
10
2
1
2
5
4
12
10
5
2
8
3
2
11
5
12