Problem problemsetter
User Kiameimon
Submission Time 2024-03-23 21:26:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problemsetter.cpp: In function ‘int main()’:
problemsetter.cpp:39:21: error: ‘mid’ was not declared in this scope
39 | ans += max(0, arr[mid].second - d);
| ^~~