Record Detail

Wrong Answer

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main graph.cpp
graph.cpp: In function 'void DAG(std::vector<node>&)':
graph.cpp:34:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < S.size(); i++){
                    ~~^~~~~~~~~~
graph.cpp:44:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < S[visiting->id].next.size(); ++i) {
                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
graph.cpp:52:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (s == S.size()) {
         ~~^~~~~~~~~~~
graph.cpp: In function 'int main()':
graph.cpp:200:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (NODES.size() != num){
         ~~~~~~~~~~~~~^~~~~~
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 1ms 448.0 KiB
#2 Accepted 1ms 380.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Wrong Answer 1ms 444.0 KiB
#5 Accepted 2ms 512.0 KiB

Information

Submit By
Type
Submission
Homework
Project Five: Graph Algorithms
Language
GNU Make
Submit At
2018-12-08 16:10:09
Judged At
2018-12-08 16:10:09
Judged By
Score
20
Total Time
9ms
Peak Memory
512.0 KiB