| Problem | lppfnlcst |
|---|---|
| User | maximushartanto |
| Submission Time | 2025-12-08 17:01:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lppfnlcst.cpp: In function ‘int main()’:
lppfnlcst.cpp:98:25: error: no matching function for call to ‘node::node(int&)’
98 | node *root = new node(n);
| ^
lppfnlcst.cpp:10:8: note: candidate: ‘node::node()’
10 | struct node{
| ^~~~
lppfnlcst.cpp:10:8: note: candidate expects 0 arguments, 1 provided
lppfnlcst.cpp:10:8: note: candidate: ‘constexpr node::node(const node&)’
lppfnlcst.cpp:10:8: note: no known conversion for argument 1 from ‘int’ to ‘const node&’
lppfnlcst.cpp:10:8: note: candidate: ‘constexpr node::node(node&&)’
lppfnlcst.cpp:10:8: note: no known conversion for argument 1 from ‘int’ to ‘node&&’