Problem potatoqueue
User dzuizz
Submission Time 2024-05-31 19:03:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatoqueue.cpp:5:1: error: ‘map’ does not name a type
5 | map<int, int> mp;
| ^~~
potatoqueue.cpp: In function ‘void init()’:
potatoqueue.cpp:8:2: error: ‘mp’ was not declared in this scope
8 | mp[INT32_MAX] = -1;
| ^~
potatoqueue.cpp: In function ‘void join(int)’:
potatoqueue.cpp:12:10: error: ‘mp’ was not declared in this scope
12 | nx[r] = mp.lower_bound(H)->second;
| ^~