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