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_38400733_5194.cpp: In function 'int main()':
0_0_38400733_5194.cpp:49:23: error: 'cmp' was not declared in this scope
         sort (a,a+3*n,cmp);
                       ^
0_0_38400733_5194.cpp:51:26: error: 'PIII' has no member named 'idx'
             cout<<a[i*3].idx<<' '<<a[i*3+1].idx<<' '<<a[i*3+2].idx<<'\n';
                          ^
0_0_38400733_5194.cpp:51:45: error: 'PIII' has no member named 'idx'
             cout<<a[i*3].idx<<' '<<a[i*3+1].idx<<' '<<a[i*3+2].idx<<'\n';
                                             ^
0_0_38400733_5194.cpp:51:64: error: 'PIII' has no member named 'idx'
             cout<<a[i*3].idx<<' '<<a[i*3+1].idx<<' '<<a[i*3+2].idx<<'\n';
                                                                ^


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 14:04:18, Gzip enabled