| Problem | carpark |
|---|---|
| User | AaravRastogi |
| Submission Time | 2025-12-15 14:54:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
carpark.cpp: In function ‘int main()’:
carpark.cpp:19:47: error: expected ‘;’ before ‘long’
19 | sort( D.begin(), D.end(), greater<int>() )
| ^
| ;
carpark.cpp:23:58: error: ‘tl’ was not declared in this scope; did you mean ‘tm’?
23 | for (int i = 0; i < min((int)D.size(), s - 1); ++i) {tl -= D[i];}
| ^~
| tm
carpark.cpp:25:13: error: ‘tl’ was not declared in this scope; did you mean ‘tm’?
25 | cout << tl << "\n";
| ^~
| tm