0_0_16317986_25362.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16317986_25362.cpp: In function 'int main()':
0_0_16317986_25362.cpp:5:39: error: 'scanf' was not declared in this scope
while(scanf("%d%d%d",&n,&u,&d),n)
^
0_0_16317986_25362.cpp:9:48: error: 'printf' was not declared in this scope
printf("%d\n",2*x-1);
^
0_0_16317986_25362.cpp:11:52: error: 'printf' was not declared in this scope
printf("%d\n",2*(x-1)-1);
^
|