Problem | pigeonnests |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-26 19:55:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeonnests.cpp: In function ‘int32_t main()’:
pigeonnests.cpp:5:13: error: expected ‘,’ or ‘;’ before ‘pair’
5 | #define pii pair<int, int>
| ^~~~
pigeonnests.cpp:116:4: note: in expansion of macro ‘pii’
116 | pii result = query(0, 0, n-1, ranges[b].first, ranges[b].second);
| ^~~
pigeonnests.cpp:117:8: error: ‘result’ was not declared in this scope; did you mean ‘result2’?
117 | if (result.first-result2.first<0){
| ^~~~~~
| result2