0_0_22077041_29368.cpp: In function 'int main()': 0_0_22077041_29368.cpp:4:15: error: 'scanf' was not declared in this scope scanf("%d",&n); ^ 0_0_22077041_29368.cpp:28:18: error: 'printf' was not declared in this scope printf("%d\n",l); ^