/in/foo.cc: In function 'void add1(long long int, long long int, long long int)':
/in/foo.cc:27:29: warning: left operand of comma operator has no effect [-Wunused-value]
27 | tot++; e[tot] = (node)( v,fl,h[u] ); h[u] = tot;
| ^
/in/foo.cc:27:37: warning: right operand of comma operator has no effect [-Wunused-value]
27 | tot++; e[tot] = (node)( v,fl,h[u] ); h[u] = tot;
| ^
/in/foo.cc:27:39: error: no matching function for call to 'node::node(long long int&)'
27 | 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, 1 provided
/in/foo.cc:19:8: note: candidate: 'constexpr node::node(const node&)'
/in/foo.cc:19:8: note: no known conversion for argument 1 from 'long long int' to 'const node&'
/in/foo.cc:19:8: note: candidate: 'constexpr node::node(node&&)'
/in/foo.cc:19:8: note: no known conversion for argument 1 from 'long long int' to 'node&&'