0_0_35510030_16074.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_35510030_16074.cpp: In function 'int main()':
0_0_35510030_16074.cpp:9:23: error: 'scanf' was not declared in this scope
while (scanf("%d", &n), n)
^
0_0_35510030_16074.cpp:14:4: error: 'cin' was not declared in this scope
cin >> a;
^
0_0_35510030_16074.cpp:17:21: error: 'printf' was not declared in this scope
printf("%d\n", sum);
^
|