Problem overtaking
User Tyx2019
Submission Time 2024-10-17 08:44:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

overtaking.cpp: In function ‘void init(int32_t, int32_t, std::vector<long long int>, std::vector<int>, int32_t, int32_t, std::vector<int>)’:
overtaking.cpp:69:35: error: ‘newcur’ was not declared in this scope
69 | endTime[j][ordering[j][i-1]] = newcur;
| ^~~~~~