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_25990222_30947.cpp: In function 'int build(int, int, int)':
0_0_25990222_30947.cpp:21:17: error: 'P' was not declared in this scope
     nth_element(P + l, P + m, P + 1 + r, cmp);
                 ^
0_0_25990222_30947.cpp: In function 'void query(int, int, LL, LL)':
0_0_25990222_30947.cpp:32:24: error: 'P' was not declared in this scope
     LL temp = dist(x - P[rt].xy[0], y - P[rt].xy[1]);
                        ^


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-29 09:31:34, Gzip enabled