Problem rushing
User Josh28acc2
Submission Time 2023-12-29 17:39:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rushing.cpp: In function ‘void solve()’:
rushing.cpp:105:16: error: ‘distnl’ was not declared in this scope; did you mean ‘dist’?
105 | memset(distnl, -1, sizeof(distnl));
| ^~~~~~
| dist
rushing.cpp:111:21: error: ‘distfl’ was not declared in this scope; did you mean ‘dist’?
111 | if (cd!=distfl[cn]) continue;
| ^~~~~~
| dist
rushing.cpp:114:21: error: ‘distfl’ was not declared in this scope; did you mean ‘dist’?
114 | if (distfl[nx] != -1 && distfl[nx] <= nd) continue; // change to dist[nx]>=nd for max dist
| ^~~~~~
| dist
rushing.cpp:115:17: error: ‘distfl’ was not declared in this scope; did you mean ‘dist’?
115 | distfl[nx] = nd;
| ^~~~~~
| dist
rushing.cpp:119:16: error: ‘distfx