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_36060847_16236.cpp:13:27: error: expected ';' at end of member declaration
     bool operator<(point p) // 重载小于号,排序用{
                           ^
0_0_36060847_16236.cpp:14:9: error: expected unqualified-id before 'if'
         if (this->x == p.x)
         ^
0_0_36060847_16236.cpp:16:9: error: expected unqualified-id before 'else'
         else
         ^
0_0_36060847_16236.cpp:18:5: error: expected ';' after struct definition
     }
     ^
0_0_36060847_16236.cpp:19:28: error: 'bool operator==(point)' must take exactly two arguments
     bool operator==(point p){ // 重载等于号,判断与其他点有没有重合用
                            ^
0_0_36060847_16236.cpp:22:1: error: expected declaration before '}' token
 };
 ^


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 08:59:43, Gzip enabled