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_34381467_21469.cpp: In function 'int main()':
0_0_34381467_21469.cpp:24:38: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
    if(strcmp(F[i+1].place==F[i].place)){
                                      ^
0_0_34381467_21469.cpp:25:37: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
     if(strcmp(F[i+1].name==F[i].name)){
                                     ^
0_0_34381467_21469.cpp:35:47: error: 'struct Fruit' has no member named 'number'
       cout<<"   |----"<<F[j].name <<'('<<F[j].number <<')'<<endl;
                                               ^


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-07-07 08:12:06, Gzip enabled