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_22756057_32382.cpp: In function 'int comxy(const void*, const void*)':
0_0_22756057_32382.cpp:33:18: error: 'const void*' is not a pointer-to-object type
     if((Point *)a->x == (Point *)b->x)  return (Point *)a->y < (Point *)b->y;
                  ^
0_0_22756057_32382.cpp:33:35: error: 'const void*' is not a pointer-to-object type
     if((Point *)a->x == (Point *)b->x)  return (Point *)a->y < (Point *)b->y;
                                   ^
0_0_22756057_32382.cpp:33:58: error: 'const void*' is not a pointer-to-object type
     if((Point *)a->x == (Point *)b->x)  return (Point *)a->y < (Point *)b->y;
                                                          ^
0_0_22756057_32382.cpp:33:74: error: 'const void*' is not a pointer-to-object type
     if((Point *)a->x == (Point *)b->x)  return (Point *)a->y < (Point *)b->y;
                                                                          ^
0_0_22756057_32382.cpp:34:27: error: 'const void*' is not a pointer-to-object type
     else return (Point *)a->x < (Point *)b->x;
                           ^
0_0_22756057_32382.cpp:34:43: error: 'const void*' is not a pointer-to-object type
     else return (Point *)a->x < (Point *)b->x;
                                           ^
0_0_22756057_32382.cpp: In function 'int comy(const void*, const void*)':
0_0_22756057_32382.cpp:39:22: error: 'const void*' is not a pointer-to-object type
     return (Point *)a->y < (Point *)b->y;
                      ^
0_0_22756057_32382.cpp:39:38: error: 'const void*' is not a pointer-to-object type
     return (Point *)a->y < (Point *)b->y;
                                      ^


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-12-02 09:51:32, Gzip enabled