0_0_30555525_7322.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_30555525_7322.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_30555525_7322.cpp: In function 'int main()':
0_0_30555525_7322.cpp:9:23: error: 'scanf' was not declared in this scope
while (scanf("%d", &n) != EOF)
^
0_0_30555525_7322.cpp:9:28: error: 'EOF' was not declared in this scope
while (scanf("%d", &n) != EOF)
^
0_0_30555525_7322.cpp:17:21: error: 'printf' was not declared in this scope
printf("%d\n", sum);
^
0_0_30555525_7322.cpp:20:10: error: expected '}' at end of input
return 0;
^
|