0_0_30399182_6652.cpp: In function 'int main()': 0_0_30399182_6652.cpp:46:40: error: 'random' was not declared in this scope int tmp=random()%r; ^