0_0_16317964_10496.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16317964_10496.cpp: In function 'int main()':
0_0_16317964_10496.cpp:5:39: error: 'scanf' was not declared in this scope
while(scanf("%d%d%d",&n,&u,&d),n)
^
0_0_16317964_10496.cpp:8:31: error: expected ')' before 'u'
if(x*(u-d) u>=n) printf("%d\n",2*x 1);
^
0_0_16317964_10496.cpp:8:85: error: expected ')' before numeric constant
if(x*(u-d) u>=n) printf("%d\n",2*x 1);
^
0_0_16317964_10496.cpp:8:86: error: 'printf' was not declared in this scope
if(x*(u-d) u>=n) printf("%d\n",2*x 1);
^
0_0_16317964_10496.cpp:10:48: error: expected ')' before numeric constant
printf("%d\n",2*(x 1) 1);
^
0_0_16317964_10496.cpp:10:53: error: expected ')' before ';' token
printf("%d\n",2*(x 1) 1);
^
|