Problem collectmushrooms3
User bz
Submission Time 2024-06-19 13:44:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms3.cpp: In function ‘int main()’:
collectmushrooms3.cpp:14:13: error: expected ‘;’ before ‘pair’
14 | #define pll pair<ll, ll>
| ^~~~
collectmushrooms3.cpp:115:13: note: in expansion of macro ‘pll’
115 | pll ffi = *fi, fse = d[pos];
| ^~~
collectmushrooms3.cpp:119:42: error: ‘ffi’ was not declared in this scope; did you mean ‘fi’?
119 | ll ans = root->query(startpt[ffi.first], endpt[fse.first]);
| ^~~
| fi
collectmushrooms3.cpp:119:60: error: ‘fse’ was not declared in this scope; did you mean ‘se’?
119 | ll ans = root->query(startpt[ffi.first], endpt[fse.first]);
| ^~~
| se