Record Detail

Wrong Answer

prepare (1/3): 
finished

make (2/3): 
g++ -std=c++11 -O2 -g -Wall -c main.cpp
main.cpp: In function 'void isDAG(Graph&, int)':
main.cpp:72:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(List.size() == N) cout << "The graph is a DAG" << endl;
        ~~~~~~~~~~~~^~~~
main.cpp: In function 'void MST(Graph&)':
main.cpp:118:13: warning: unused variable 'key' [-Wunused-variable]
         int key = next_in->key;
             ^~~
g++ -std=c++11 -O2 -g -Wall -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 2ms 780.0 KiB
#2 Accepted 2ms 728.0 KiB
#3 Wrong Answer 1ms 388.0 KiB
#4 Accepted 1ms 380.0 KiB
#5 Accepted 2ms 640.0 KiB

Information

Submit By
Type
Submission
Homework
Project 5: Graph Algorithms
Language
GNU Make
Submit At
2020-08-08 01:45:06
Judged At
2020-08-08 01:45:06
Judged By
Score
80
Total Time
11ms
Peak Memory
780.0 KiB