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_16259891_19807.cpp: In function 'int cmp(const void*, const void*)':
0_0_16259891_19807.cpp:12:18: error: base operand of '->' has non-pointer type 'pm'
     if((*(pm *)a)->l-(*(pm *)a)->r!= (*(pm *)b)->l-(*(pm *)b)->r)
                  ^
0_0_16259891_19807.cpp:12:32: error: base operand of '->' has non-pointer type 'pm'
     if((*(pm *)a)->l-(*(pm *)a)->r!= (*(pm *)b)->l-(*(pm *)b)->r)
                                ^
0_0_16259891_19807.cpp:12:48: error: base operand of '->' has non-pointer type 'pm'
     if((*(pm *)a)->l-(*(pm *)a)->r!= (*(pm *)b)->l-(*(pm *)b)->r)
                                                ^
0_0_16259891_19807.cpp:12:62: error: base operand of '->' has non-pointer type 'pm'
     if((*(pm *)a)->l-(*(pm *)a)->r!= (*(pm *)b)->l-(*(pm *)b)->r)
                                                              ^
0_0_16259891_19807.cpp:14:26: error: base operand of '->' has non-pointer type 'pm'
         return (*(pm *)a)->l-(*(pm *)a)->r<(*(pm *)b)->l-(*(pm *)b)->r;
                          ^
0_0_16259891_19807.cpp:14:40: error: base operand of '->' has non-pointer type 'pm'
         return (*(pm *)a)->l-(*(pm *)a)->r<(*(pm *)b)->l-(*(pm *)b)->r;
                                        ^
0_0_16259891_19807.cpp:14:54: error: base operand of '->' has non-pointer type 'pm'
         return (*(pm *)a)->l-(*(pm *)a)->r<(*(pm *)b)->l-(*(pm *)b)->r;
                                                      ^
0_0_16259891_19807.cpp:14:68: error: base operand of '->' has non-pointer type 'pm'
         return (*(pm *)a)->l-(*(pm *)a)->r<(*(pm *)b)->l-(*(pm *)b)->r;
                                                                    ^
0_0_16259891_19807.cpp:16:18: error: base operand of '->' has non-pointer type 'pm'
     if((*(pm *)a)->r!=(*(pm *)b)->r)
                  ^
0_0_16259891_19807.cpp:16:33: error: base operand of '->' has non-pointer type 'pm'
     if((*(pm *)a)->r!=(*(pm *)b)->r)
                                 ^
0_0_16259891_19807.cpp:17:22: error: base operand of '->' has non-pointer type 'pm'
     return (*(pm *)a)->r>(*(pm *)b)->r;
                      ^
0_0_16259891_19807.cpp:17:36: error: base operand of '->' has non-pointer type 'pm'
     return (*(pm *)a)->r>(*(pm *)b)->r;
                                    ^
0_0_16259891_19807.cpp:18:22: error: base operand of '->' has non-pointer type 'pm'
     return (*(pm *)a)->n>(*(pm *)b)->n;
                      ^
0_0_16259891_19807.cpp:18:36: error: base operand of '->' has non-pointer type 'pm'
     return (*(pm *)a)->n>(*(pm *)b)->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-25 02:56:39, Gzip enabled