0_0_35849967_22468.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_35849967_22468.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_35849967_22468.cpp: In function 'int main()':
0_0_35849967_22468.cpp:16:23: error: 'scanf' was not declared in this scope
while (scanf("%d", &n) != EOF)
^
0_0_35849967_22468.cpp:16:28: error: 'EOF' was not declared in this scope
while (scanf("%d", &n) != EOF)
^
0_0_35849967_22468.cpp:22:23: error: 'printf' was not declared in this scope
printf("%d\n\n", sum);
^
|