| Problem | gfriendmania |
|---|---|
| User | JohnC |
| Submission Time | 2025-12-10 21:46:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gfriendmania.cpp: In function ‘int32_t main()’:
gfriendmania.cpp:85:56: error: expected ‘)’ before ‘;’ token
85 | root = new node(1, *max_element(A.begin(), A.end());
| ~ ^
| )
gfriendmania.cpp:85:56: error: no matching function for call to ‘node::node()’
gfriendmania.cpp:9:2: note: candidate: ‘node::node(long long int, long long int)’
9 | node (int _s, int _e){
| ^~~~
gfriendmania.cpp:9:2: note: candidate expects 2 arguments, 0 provided
gfriendmania.cpp:5:8: note: candidate: ‘constexpr node::node(const node&)’
5 | struct node{
| ^~~~
gfriendmania.cpp:5:8: note: candidate expects 1 argument, 0 provided
gfriendmania.cpp:5:8: note: candidate: ‘constexpr node::node(node&&)’
gfriendmania.cpp:5:8: note: candidate expects 1 argument, 0 provided