0_0_17224532_18625.cpp: In function 'int main()':
0_0_17224532_18625.cpp:8:21: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)&&n>0)
^
0_0_17224532_18625.cpp:44:32: error: 'printf' was not declared in this scope
printf("%d %d\n",sum-i,i);
^
|