0_0_23424282_791.cpp: In function 'int main()': 0_0_23424282_791.cpp:25:29: error: 'scanf' was not declared in this scope while(scanf("%d%d",&n,&m)==2) ^ 0_0_23424282_791.cpp:35:29: error: 'printf' was not declared in this scope printf("%d",a[i]); ^