Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -O3 -Wall -std=c++11  -o main.o -c main.cpp 
main.cpp: In constructor 'node::node()':
main.cpp:20:9: warning: 'node::D' will be initialized after [-Wreorder]
     int D; // D value for MST
         ^
main.cpp:18:10: warning:   'bool node::ifvisited' [-Wreorder]
     bool ifvisited;// unused variable
          ^~~~~~~~~
main.cpp:14:5: warning:   when initialized here [-Wreorder]
     node():inOrder(0),D(-1),ifvisited(false){};
     ^~~~
g++ -O3 -Wall -std=c++11  -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Runtime Error (-11) 4ms 1.051 MiB
#2 Runtime Error (-11) 18ms 532.0 KiB
#3 Runtime Error (-11) 2ms 468.0 KiB
#4 Runtime Error (-11) 1ms 468.0 KiB
#5 Runtime Error (-11) 3ms 520.0 KiB

Information

Submit By
Type
Submission
Homework
Project 5: Graph Algorithms
Language
GNU Make
Submit At
2020-08-09 15:04:21
Judged At
2020-08-09 15:04:21
Judged By
Score
0
Total Time
30ms
Peak Memory
1.051 MiB