0_0_30754962_10853.cpp: In function 'int main()': 0_0_30754962_10853.cpp:4:15: error: 'scanf' was not declared in this scope scanf("%d",&n); ^ 0_0_30754962_10853.cpp:15:17: error: 'printf' was not declared in this scope printf("%d",j); ^