0_0_26646846_15891.cpp: In function 'int main()':
0_0_26646846_15891.cpp:5:23: error: 'scanf' was not declared in this scope
while(scanf("%d\n",&n)!=EOF)
^
0_0_26646846_15891.cpp:5:26: error: 'EOF' was not declared in this scope
while(scanf("%d\n",&n)!=EOF)
^
0_0_26646846_15891.cpp:18:23: error: 'printf' was not declared in this scope
printf("%d\n\n",sum);
^
|