0_0_17722134_540.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_17722134_540.cpp: In function 'int main()':
0_0_17722134_540.cpp:5:22: error: 'scanf' was not declared in this scope
while (scanf("%d", &n)!=0)
^
0_0_17722134_540.cpp:13:22: error: 'printf' was not declared in this scope
printf("%d\n", result);
^
|