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