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_25642775_27585.cpp: In function 'bool cmpx(point, point)':
0_0_25642775_27585.cpp:20:2: error: 'retunr' was not declared in this scope
  retunr a.x == b.x? a.y < b.y: a.x < b.x;
  ^
0_0_25642775_27585.cpp: In function 'bool cmpx(point, point)':
0_0_25642775_27585.cpp:23:6: error: redefinition of 'bool cmpx(point, point)'
 bool cmpx(point a, point b)
      ^
0_0_25642775_27585.cpp:18:6: note: 'bool cmpx(point, point)' previously defined here
 bool cmpx(point a, point b)
      ^
0_0_25642775_27585.cpp:25:2: error: 'retunr' was not declared in this scope
  retunr a.y == b.y? a.x < b.x: a.y < b.y;
  ^
0_0_25642775_27585.cpp: In function 'double dis(point, point)':
0_0_25642775_27585.cpp:30:50: error: expected ')' before ';' token
  return sqrt(pow(a.x - b.x , 2)+pow(a.y - b.y, 2);
                                                  ^
0_0_25642775_27585.cpp: In function 'double solver(int, int)':
0_0_25642775_27585.cpp:49:29: error: 'cmpy' was not declared in this scope
  sotr(rp.begin(), rp.end(), cmpy);
                             ^
0_0_25642775_27585.cpp:49:33: error: 'sotr' was not declared in this scope
  sotr(rp.begin(), rp.end(), cmpy);
                                 ^
0_0_25642775_27585.cpp:53:28: error: 'fasb' was not declared in this scope
   if(fasb(rp[j].y - lp[i].y) < d) d = min(dis(rp[j], lp[i]), d);
                            ^
0_0_25642775_27585.cpp:61:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_25642775_27585.cpp:74: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-17 00:26:58, Gzip enabled