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 < visiting->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:196:18: 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 2ms 396.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 380.0 KiB
#4 Wrong Answer 1ms 384.0 KiB
#5 Accepted 2ms 448.0 KiB

Information

Submit By
Type
Submission
Homework
Project Five: Graph Algorithms
Language
GNU Make
Submit At
2018-12-08 00:25:32
Judged At
2018-12-08 00:25:32
Judged By
Score
20
Total Time
9ms
Peak Memory
448.0 KiB