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