Problem race
User Sans12345
Submission Time 2024-12-02 20:16:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

race.cpp: In function ‘int best_path(int, int, int (*)[2], int*)’:
race.cpp:49:33: error: expected ‘}’ at end of input
49 | return (ans==1000000)?-1:ans;
| ^
race.cpp:41:49: note: to match this ‘{’
41 | int best_path(int N, int K, int h[][2], int l[]){
| ^