Problem speakers
User Schzeey
Submission Time 2023-03-18 10:06:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

speakers.cpp: In function ‘int main()’:
speakers.cpp:12:13: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘push’
12 | arr.push({max(0ll, x-r), min(x+r, m)});
| ^~~~
speakers.cpp:22:19: error: ‘pq’ was not declared in this scope
22 | ptr = pq.top().second;
| ^~