Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
main.cpp: In function 'void DAG(Graph&, int)':
main.cpp:74:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < node.neighbor.size(); i++)
               ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:88:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (order.size() == N)
      ~~~~~~~~~~~~~^~~~
main.cpp: In function 'int main(int, char**)':
main.cpp:131:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < graph.edge.size(); i++)
               ~~^~~~~~~~~~~~~~~~~~~
main.cpp:158:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < graph.edge.size(); i++)
               ~~^~~~~~~~~~~~~~~~~~~
main.cpp:195:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (graph.T_left.size() == N)
      ~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:112:6: warning: unused variable 'j' [-Wunused-variable]
  int j;
      ^
g++ -g -Wall -O2 -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 2ms 416.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 2ms 440.0 KiB
#4 Accepted 2ms 368.0 KiB
#5 Accepted 6ms 592.0 KiB

Information

Submit By
Type
Submission
Homework
Project Five: Graph Algorithms
Language
GNU Make
Submit At
2018-12-06 12:45:13
Judged At
2018-12-06 12:45:13
Judged By
Score
25
Total Time
15ms
Peak Memory
592.0 KiB