Problem problematicjourney
User huangchengcheng
Submission Time 2026-12-01 10:14:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problematicjourney.cpp: In function ‘int main()’:
problematicjourney.cpp:28:13: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
28 | int cn=q.top();
| ^~~
| pop
problematicjourney.cpp:33:6: error: ‘distp’ was not declared in this scope; did you mean ‘dist’?
33 | distp[nn]=dist[cn]+1;
| ^~~~~
| dist