/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void add1(long long int, long long int, long long int)':
/in/foo.cc:25:38: error: no matching function for call to 'node::node(long long int&, long long int&, long long int&)'
   25 |     tot++; e[tot] = (node (v,fl,h[u] )); h[u] = tot;
      |                                      ^
/in/foo.cc:19:8: note: candidate: 'node::node()'
   19 | struct node {
      |        ^~~~
/in/foo.cc:19:8: note:   candidate expects 0 arguments, 3 provided
/in/foo.cc:19:8: note: candidate: 'constexpr node::node(const node&)'
/in/foo.cc:19:8: note:   candidate expects 1 argument, 3 provided
/in/foo.cc:19:8: note: candidate: 'constexpr node::node(node&&)'
/in/foo.cc:19:8: note:   candidate expects 1 argument, 3 provided

信息

递交者
类型
递交
题目
P1590 笨笨的洪水堵截
语言
C++
递交时间
2025-06-01 09:01:49
评测时间
2025-06-01 09:01:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes