#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main() {
int A[5];
srand (time(NULL));
for (int i=0;i<=4;i++) {
A[i]=8+rand()%15;
cout <<A[i] <<endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGxpYj4KI2luY2x1ZGUgPGN0aW1lPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpIHsKCWludCBBWzVdOwoJc3JhbmQgKHRpbWUoTlVMTCkpOwoJZm9yIChpbnQgaT0wO2k8PTQ7aSsrKSB7CgkJQVtpXT04K3JhbmQoKSUxNTsKCQljb3V0IDw8QVtpXSA8PGVuZGw7Cgl9CglyZXR1cm4gMDsKCX0=
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/py_compile.py", line 117, in compile
raise py_exc
py_compile.PyCompileError: File "prog.py", line 4
using namespace std;
^
SyntaxError: invalid syntax