0_0_18593606_32565.cpp: In function 'int main()':
0_0_18593606_32565.cpp:5:28: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_18593606_32565.cpp:5:31: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_18593606_32565.cpp:16:38: error: 'printf' was not declared in this scope
if(n==1)printf("%d\n",sum);
^
0_0_18593606_32565.cpp:17:36: error: 'printf' was not declared in this scope
else printf("d\n\n",sum);
^
|