Problem flip
User Pan
Submission Time 2024-10-30 20:37:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flip.cpp: In function ‘void dijkstra(long long int, std::vector<std::vector<long long int> >&)’:
flip.cpp:82:53: error: ‘i’ was not declared in this scope
82 | dist[v][flip+flipCur] = min(dist[v][i], dist[u][flip+flipCur-1] + weight);
| ^