Record Detail

Accepted

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:74: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:104: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 3ms 788.0 KiB
#2 Accepted 33ms 740.0 KiB
#3 Accepted 2ms 340.0 KiB
#4 Accepted 2ms 392.0 KiB
#5 Accepted 2ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Project 5: Graph Algorithms
Language
GNU Make
Submit At
2020-08-10 11:38:32
Judged At
2020-08-10 11:38:32
Judged By
Score
100
Total Time
42ms
Peak Memory
788.0 KiB