F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);                          
                                                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-10-05 22:33:41, Gzip enabled