Problem erp
User ThePwo
Submission Time 2023-09-07 17:03:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

erp.cpp: In function ‘int32_t main()’:
erp.cpp:39:7: error: ‘dist’ was not declared in this scope; did you mean ‘dist2’?
39 | if (dist[n - 1] == 1e18 || mn == 1e18) { cout << -1 << "\n"; continue; }
| ^~~~
| dist2