| Problem | rangerangequery |
|---|---|
| User | LXYSGP |
| Submission Time | 2025-08-31 12:04:32 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
rangerangequery.cpp: In function ‘Node mergeNode(const Node&, const Node&)’:
rangerangequery.cpp:7:14: error: ‘min’ was not declared in this scope
7 | return { min(L.mn, R.mn), max(L.mx, R.mx) };
| ^~~
rangerangequery.cpp:7:31: error: ‘max’ was not declared in this scope
7 | return { min(L.mn, R.mn), max(L.mx, R.mx) };
| ^~~
rangerangequery.cpp:7:47: error: could not convert ‘{<expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘Node’
7 | return { min(L.mn, R.mn), max(L.mx, R.mx) };
| ^
| |
| <brace-enclosed initializer list>
rangerangequery.cpp: At global scope:
rangerangequery.cpp:12:5: error: ‘vector’ does not name a type
12 | vector<Node> t;