Problem lineup
User sharelletqx
Submission Time 2026-05-16 11:56:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lineup.cpp: In function ‘int32_t main()’:
lineup.cpp:20:8: error: ‘r’ was not declared in this scope
20 | m[x[r].second]++;
| ^
lineup.cpp:26:12: error: ‘mins’ was not declared in this scope
26 | bestans=mins(bestans,x[r].first-x[l].first);
| ^~~~