Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::calculateShortestPaths()':
/in/shortestP2P.hpp:121:45: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                         if (countInQueue[v] >= vertices) { // 如果节点v被加入队列的次数超过顶点数,则检测到负权环
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-08-04 20:29:18
Judged At
2024-08-04 20:29:18
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes