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_10557677_21411.cpp: In function `bool cmpx(const std::pair<int, int>&, const std::pair<int, int>&)':
0_0_10557677_21411.cpp:334: error: 'const struct std::pair<int, int>' has no member named 'fst'
0_0_10557677_21411.cpp:334: error: 'const struct std::pair<int, int>' has no member named 'fst'
0_0_10557677_21411.cpp: In function `bool cmpy(const std::pair<int, int>&, const std::pair<int, int>&)':
0_0_10557677_21411.cpp:338: error: 'const struct std::pair<int, int>' has no member named 'snd'
0_0_10557677_21411.cpp:338: error: 'const struct std::pair<int, int>' has no member named 'snd'
0_0_10557677_21411.cpp: In function `node* kdtree(int, int, int)':
0_0_10557677_21411.cpp:348: error: `mid' undeclared (first use this function)
0_0_10557677_21411.cpp:348: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_10557677_21411.cpp:349: error: no `operator++(int)' declared for postfix `++', trying prefix operator instead
0_0_10557677_21411.cpp:349: error: no match for 'operator++' in '++tot'
0_0_10557677_21411.cpp: At global scope:
0_0_10557677_21411.cpp:356: error: expected `,' or `...' before '*' token
0_0_10557677_21411.cpp:356: error: ISO C++ forbids declaration of `point' with no type
0_0_10557677_21411.cpp: In function `double dist(int)':
0_0_10557677_21411.cpp:357: error: `a' undeclared (first use this function)
0_0_10557677_21411.cpp:357: error: `b' undeclared (first use this function)
0_0_10557677_21411.cpp: In function `void nearest(node*, int, const std::pair<int, int>&)':
0_0_10557677_21411.cpp:364: error: no match for 'operator==' in 'cur->node::location == p'
0_0_10557677_21411.cpp:367: error: cannot convert `std::pair<int, int>' to `int' for argument `1' to `double dist(int)'
0_0_10557677_21411.cpp:367: error: cannot convert `std::pair<int, int>' to `int' for argument `1' to `double dist(int)'
0_0_10557677_21411.cpp:371: error: 'struct std::pair<int, int>' has no member named 'fst'
0_0_10557677_21411.cpp:371: error: 'const struct std::pair<int, int>' has no member named 'fst'
0_0_10557677_21411.cpp:371: error: cannot convert `std::pair<int, int>' to `int' for argument `1' to `double dist(int)'
0_0_10557677_21411.cpp:374: error: 'struct std::pair<int, int>' has no member named 'snd'
0_0_10557677_21411.cpp:374: error: 'const struct std::pair<int, int>' has no member named 'snd'
0_0_10557677_21411.cpp:374: error: cannot convert `std::pair<int, int>' to `int' for argument `1' to `double dist(int)'
0_0_10557677_21411.cpp: In function `int main()':
0_0_10557677_21411.cpp:385: error: 'struct std::pair<int, int>' has no member named 'fst'
0_0_10557677_21411.cpp:385: error: 'struct std::pair<int, int>' has no member named 'snd'
0_0_10557677_21411.cpp:386: error: no match for 'operator=' in 'tot = pool'
0_0_10557677_21411.cpp:328: note: candidates are: node& node::operator=(const node&)


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-26 00:47:43, Gzip enabled