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_13813564_1387.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813564_1387.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813564_1387.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813564_1387.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813564_1387.cpp: In function 'int main()':
0_0_13813564_1387.cpp:11:36: error: 'scanf' was not declared in this scope
  while(scanf("%d%d%d%d",&h,&a,&b,&k),h + a + b + k) {
                                    ^
0_0_13813564_1387.cpp:13:26: error: 'printf' was not declared in this scope
   printf("Case #%d: ",++T);
                          ^
0_0_13813564_1387.cpp:15:3: error: expected ')' before 'else'
   else if((long long)k * a  (long long)(k + 1) * b) puts("YES");
   ^
0_0_13813564_1387.cpp:16:28: error: lvalue required as left operand of assignment
   else if((long long)k * a = (long long)(k - 1) * b + h) puts("YES");
                            ^
0_0_13813564_1387.cpp:16:68: error: 'puts' was not declared in this scope
   else if((long long)k * a = (long long)(k - 1) * b + h) puts("YES");
                                                                    ^
0_0_13813564_1387.cpp:17:17: error: 'puts' was not declared in this scope
   else puts("NO");
                 ^


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-11-26 19:58:10, Gzip enabled