Problem problematicjourney
User YH
Submission Time 2024-11-08 11:30:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problematicjourney.cpp: In member function ‘int Graph::findMinMaxQn(int, int)’:
problematicjourney.cpp:64:5: error: expected ‘,’ or ‘;’ before ‘if’
64 | if ((dist[v] > max(max_weight_prev, w) || (dist[v] == -1 || new_steps < steps[v])) && nodes_travelled < k) {
| ^~