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_33210658_14182.cpp: In function 'int cmp(const void*, const void*)':
0_0_33210658_14182.cpp:12:5: error: 'hotelaa' was not declared in this scope
     hotelaa=*(hotel *)a;
     ^
0_0_33210658_14182.cpp:13:5: error: 'hotelbb' was not declared in this scope
     hotelbb=*(hotel *)b;;
     ^
0_0_33210658_14182.cpp:14:7: error: 'aa' was not declared in this scope
    if(aa.price!=bb.price)
       ^
0_0_33210658_14182.cpp:14:17: error: 'bb' was not declared in this scope
    if(aa.price!=bb.price)
                 ^
0_0_33210658_14182.cpp: In function 'int main()':
0_0_33210658_14182.cpp:21:5: error: 'intt' was not declared in this scope
     intt,c,s,i,j;
     ^
0_0_33210658_14182.cpp:21:10: error: 'c' was not declared in this scope
     intt,c,s,i,j;
          ^
0_0_33210658_14182.cpp:21:12: error: 's' was not declared in this scope
     intt,c,s,i,j;
            ^
0_0_33210658_14182.cpp:21:14: error: 'i' was not declared in this scope
     intt,c,s,i,j;
              ^
0_0_33210658_14182.cpp:21:16: error: 'j' was not declared in this scope
     intt,c,s,i,j;
                ^
0_0_33210658_14182.cpp:22:16: error: 't' was not declared in this scope
    scanf("%d",&t);
                ^
0_0_33210658_14182.cpp:49:5: error: 'return0' was not declared in this scope
     return0;
     ^


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-23 00:08:30, Gzip enabled