| Problem | lineup |
|---|---|
| User | sharelletqx |
| Submission Time | 2026-05-16 11:56:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
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);
| ^~~~
lineup.cpp:33:3: error: expected ‘}’ at end of input
33 | }
| ^
lineup.cpp:18:22: note: to match this ‘{’
18 | for(int l=0;l<n;l++){\
| ^~
19 | while(uniq != (int)s.size()){
|
lineup.cpp:33:3: error: expected ‘}’ at end of input
33 | }
| ^
lineup.cpp:4:15: note: to match this ‘{’
4 | int32_t main(){
| ^