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&)
|