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

Information

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