Problem overtaking
User ovuvuevuevueenyetuewuevue
Submission Time 2025-02-16 18:44:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

overtaking.cpp: In function ‘int main()’:
overtaking.cpp:4:91: error: a function-definition is not allowed here before ‘{’ token
4 | void init(int L, int N, vector<long long> T, vector<int> W, int X, int M, vector<int> S) {
| ^
overtaking.cpp:15:38: error: a function-definition is not allowed here before ‘{’ token
15 | long long arrival_time(long long Y) {
| ^