| Problem | funnyhat |
|---|---|
| User | Sans12345 |
| Submission Time | 2026-01-10 11:47:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
funnyhat.cpp:10:5: error: ‘pair’ does not name a type
10 | pair<ll,ll> val;
| ^~~~
funnyhat.cpp:23:5: error: ‘pair’ does not name a type
23 | pair<ll,ll> qry(ll l,ll r){
| ^~~~
funnyhat.cpp: In constructor ‘node::node(ll, ll)’:
funnyhat.cpp:13:4: error: ‘val’ was not declared in this scope
13 | val.first = 0;
| ^~~
funnyhat.cpp:20:9: error: ‘val’ was not declared in this scope
20 | val = max(left->val,right->val);
| ^~~
funnyhat.cpp:20:25: error: ‘struct node’ has no member named ‘val’
20 | val = max(left->val,right->val);
| ^~~
funnyhat.cpp:20:36: error: ‘struct node’ has no member named ‘val’
20 | val = max(left->val,right->val);
| ^~~
funnyhat.cpp:20:15: error: ‘max’ was not declared in this scope; did you mean ‘maxn’?
20 |