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_29106396_4655.cpp:37:9: error: 'LL' was not declared in this scope
 ll Sqrt(LL a, LL b){    //欧几里得距离平方
         ^
0_0_29106396_4655.cpp:37:15: error: 'LL' was not declared in this scope
 ll Sqrt(LL a, LL b){    //欧几里得距离平方
               ^
0_0_29106396_4655.cpp:37:19: error: expression list treated as compound expression in initializer [-fpermissive]
 ll Sqrt(LL a, LL b){    //欧几里得距离平方
                   ^
0_0_29106396_4655.cpp:37:20: error: expected ',' or ';' before '{' token
 ll Sqrt(LL a, LL b){    //欧几里得距离平方
                    ^
0_0_29106396_4655.cpp: In function 'void Query(Node, int, int, int)':
0_0_29106396_4655.cpp:61:68: error: 'Sqrt' cannot be used as a function
         cur.first += Sqrt((ll)data[rt].feature[i], (ll)p.feature[i]);
                                                                    ^
0_0_29106396_4655.cpp:87:62: error: 'Sqrt' cannot be used as a function
         if(Sqrt((ll)p.feature[dim], (ll)data[rt].feature[dim]) < Q.top().first)
                                                              ^


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-10-06 13:49:05, Gzip enabled