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_38706046_14186.cpp: In function 'void go()':
0_0_38706046_14186.cpp:280:81: error: no matching function for call to 'kd_tree::kdtnode::kdtnode(VI)'
  280 |                         tmp=kdtnode(VI{a,b,c,d,e},kd.query(kdtnode(VI{a,b,c,d,e}))+v);
      |                                                                                 ^
0_0_38706046_14186.cpp:151:17: note: candidate: 'kd_tree::kdtnode::kdtnode(std::vector<int>, int)'
  151 |                 kdtnode(vector<type> a,type d)
      |                 ^~~~~~~
0_0_38706046_14186.cpp:151:17: note:   candidate expects 2 arguments, 1 provided
0_0_38706046_14186.cpp:144:17: note: candidate: 'kd_tree::kdtnode::kdtnode()'
  144 |                 kdtnode(){}
      |                 ^~~~~~~
0_0_38706046_14186.cpp:144:17: note:   candidate expects 0 arguments, 1 provided
0_0_38706046_14186.cpp:140:16: note: candidate: 'constexpr kd_tree::kdtnode::kdtnode(const kd_tree::kdtnode&)'
  140 |         struct kdtnode
      |                ^~~~~~~
0_0_38706046_14186.cpp:140:16: note:   no known conversion for argument 1 from 'VI' {aka 'std::vector<int>'} to 'const kd_tree::kdtnode&'
0_0_38706046_14186.cpp:140:16: note: candidate: 'constexpr kd_tree::kdtnode::kdtnode(kd_tree::kdtnode&&)'
0_0_38706046_14186.cpp:140:16: note:   no known conversion for argument 1 from 'VI' {aka 'std::vector<int>'} to 'kd_tree::kdtnode&&'


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-30 03:36:48, Gzip enabled