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_21743242_16119.cpp: In function 'LL cross(const Point&, const Point&, const Point&, const Point&)':
0_0_21743242_16119.cpp:31:42: error: a function-definition is not allowed here before '{' token
 bool cmp(const Point &a, const Point &b) { //先按象限排序,再按极角排序,再按远近排序
                                          ^
0_0_21743242_16119.cpp:41:28: error: a function-definition is not allowed here before '{' token
 bool judge(Point a,Point b){
                            ^
0_0_21743242_16119.cpp:46:12: error: a function-definition is not allowed here before '{' token
 int main() {
            ^
0_0_21743242_16119.cpp:81:1: error: expected '}' at end of input
 }
 ^


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 15:31:55, Gzip enabled