Problem cakerun
User Batigol
Submission Time 2025-01-27 16:10:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cakerun.cpp: In function ‘int main()’:
cakerun.cpp:19:5: error: expected ‘;’ before ‘map’
19 | map <ll, set<pll>> m;
| ^~~
cakerun.cpp:23:9: error: ‘m’ was not declared in this scope
23 | m[arr[i]].insert({i,i});
| ^
cakerun.cpp:36:16: error: ‘m’ was not declared in this scope
36 | if(m[c].empty()){
| ^
cakerun.cpp:41:23: error: ‘m’ was not declared in this scope
41 | auto it = m[c].lower_bound({l,0});
| ^
cakerun.cpp:64:21: error: ‘m’ was not declared in this scope
64 | m[it->c].erase({it->l, it->r});
| ^
cakerun.cpp:71:21: error: ‘m’ was not declared in this scope
71 | m[it->c].erase({it->l, it->r});
| ^
cakerun.cpp:75:21: error: ‘m’ was not declared in this scope
75 |