Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::detectNegativeCycle()':
/in/shortestP2P.hpp:87:34: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                     if (++cnt[v] >= n) {
                         ~~~~~~~~~^~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-08-08 21:41:27
Judged At
2024-08-08 21:41:27
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes