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