| Problem | gerrymandering | 
|---|---|
| User | justin271828 | 
| Submission Time | 2024-12-12 19:39:35 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 gerrymandering.cpp:29:31: error: expected ‘;’ after struct definition
   29 |   val = max(l->val, r->val);}}
      |                               ^
      |                               ;
gerrymandering.cpp: In function ‘int main()’:
gerrymandering.cpp:49:21: error: no matching function for call to ‘node::node()’
   49 |  struct node mem[K+1];
      |                     ^
gerrymandering.cpp:7:2: note: candidate: ‘node::node(int, int)’
    7 |  node(int S, int E) :
      |  ^~~~
gerrymandering.cpp:7:2: note:   candidate expects 2 arguments, 0 provided
gerrymandering.cpp:4:8: note: candidate: ‘constexpr node::node(const node&)’
    4 | struct node{
      |        ^~~~
gerrymandering.cpp:4:8: note:   candidate expects 1 argument, 0 provided
gerrymandering.cpp:4:8: note: candidate: ‘constexpr node::node(node&&)’
gerrymandering.cpp:4:8: note:   candidate expects 1 argument, 0 provided
gerrymandering.cpp:50:55: error: no match for