Problem | arraypartition |
---|---|
User | haydendoo |
Submission Time | 2023-03-07 12:18:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arraypartition.cpp: In function ‘int main()’:
arraypartition.cpp:5:22: error: ‘e’ was not declared in this scope
5 | #define sus int m=(s+e)>>1ll;
| ^
arraypartition.cpp:168:3: note: in expansion of macro ‘sus’
168 | sus:
| ^~~
arraypartition.cpp:168:6: error: expected primary-expression before ‘:’ token
168 | sus:
| ^
arraypartition.cpp:170:22: error: ‘mid’ was not declared in this scope
170 | int high=mx.query(mid,i), low=mn.query(mid,i);
| ^~~
arraypartition.cpp:171:12: error: ‘low’ was not declared in this scope; did you mean ‘lo’?
171 | if(high-low>s) {
| ^~~
| lo
arraypartition.cpp:4:13: error: expected identifier before ‘long’
4 | #define int long long
| ^~~~
arraypartition.cpp:5:13: note: in expansion of macro ‘int’
5 | #define sus int m=(s+e)>>1ll;