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_33910996_19738.cpp:76:1: error: stray '\324' in program
 源码(方差优化KD树)
 ^
0_0_33910996_19738.cpp:76:1: error: stray '\264' in program
0_0_33910996_19738.cpp:76:1: error: stray '\302' in program
0_0_33910996_19738.cpp:76:1: error: stray '\353' in program
0_0_33910996_19738.cpp:76:1: error: stray '\243' in program
0_0_33910996_19738.cpp:76:1: error: stray '\250' in program
0_0_33910996_19738.cpp:76:1: error: stray '\267' in program
0_0_33910996_19738.cpp:76:1: error: stray '\275' in program
0_0_33910996_19738.cpp:76:1: error: stray '\262' in program
0_0_33910996_19738.cpp:76:1: error: stray '\356' in program
0_0_33910996_19738.cpp:76:1: error: stray '\323' in program
0_0_33910996_19738.cpp:76:1: error: stray '\305' in program
0_0_33910996_19738.cpp:76:1: error: stray '\273' in program
0_0_33910996_19738.cpp:76:1: error: stray '\257' in program
0_0_33910996_19738.cpp:76:1: error: stray '\312' in program
0_0_33910996_19738.cpp:76:1: error: stray '\367' in program
0_0_33910996_19738.cpp:76:1: error: stray '\243' in program
0_0_33910996_19738.cpp:76:1: error: stray '\251' in program
0_0_33910996_19738.cpp:76:15: error: 'KD' does not name a type
 源码(方差优化KD树)
               ^
0_0_33910996_19738.cpp:95:11: error: redefinition of 'const int MAXN'
 const int MAXN = 1e5 + 10;
           ^
0_0_33910996_19738.cpp:14:11: note: 'const int MAXN' previously defined here
 const int MAXN = 1e5 + 10;
           ^
0_0_33910996_19738.cpp:103:25: error: conflicting declaration 'kdTree a [100010]'
 kdTree tree[MAXN],a[MAXN],kdans,qu;
                         ^
0_0_33910996_19738.cpp:21:7: note: previous declaration as 'point a [100010]'
 point a[MAXN];
       ^
0_0_33910996_19738.cpp:104:20: error: redefinition of 'int n'
 int dv[MAXN],nowdv,n;
                    ^
0_0_33910996_19738.cpp:20:5: note: 'int n' previously declared here
 int n;
     ^
0_0_33910996_19738.cpp: In function 'int main()':
0_0_33910996_19738.cpp:162:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_33910996_19738.cpp:63:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_33910996_19738.cpp:167:18: error: no match for 'operator=' (operand types are 'point' and 'kdTree')
             a[i] = tree[i];
                  ^
0_0_33910996_19738.cpp:167:18: note: candidates are:
0_0_33910996_19738.cpp:16:8: note: point& point::operator=(const point&)
 struct point{
        ^
0_0_33910996_19738.cpp:16:8: note:   no known conversion for argument 1 from 'kdTree' to 'const point&'
0_0_33910996_19738.cpp:16:8: note: point& point::operator=(point&&)
0_0_33910996_19738.cpp:16:8: note:   no known conversion for argument 1 from 'kdTree' to 'point&&'
0_0_33910996_19738.cpp:171:16: error: no match for 'operator=' (operand types are 'kdTree' and 'point')
             qu = a[i]; qu.id = i;
                ^
0_0_33910996_19738.cpp:171:16: note: candidates are:
0_0_33910996_19738.cpp:97:8: note: kdTree& kdTree::operator=(const kdTree&)
 struct kdTree{
        ^
0_0_33910996_19738.cpp:97:8: note:   no known conversion for argument 1 from 'point' to 'const kdTree&'
0_0_33910996_19738.cpp:97:8: note: kdTree& kdTree::operator=(kdTree&&)
0_0_33910996_19738.cpp:97:8: note:   no known conversion for argument 1 from 'point' to 'kdTree&&'


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 09:49:17, Gzip enabled