Record Detail

Runtime Error

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 388.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 380.0 KiB
#4 Accepted 2ms 404.0 KiB
#5 Accepted 6ms 616.0 KiB
#6 Runtime Error (-11) 2ms 448.0 KiB
#7 Runtime Error (-11) 2ms 440.0 KiB
#8 Accepted 2ms 468.0 KiB
#9 Accepted 2ms 404.0 KiB
#10 Accepted 1ms 380.0 KiB
#11 Accepted 2ms 380.0 KiB
#12 Accepted 2ms 448.0 KiB
#13 Accepted 2ms 380.0 KiB
#14 Accepted 2ms 396.0 KiB
#15 Accepted 2ms 384.0 KiB
#16 Accepted 2ms 376.0 KiB
#17 Accepted 2ms 732.0 KiB
#18 Accepted 2ms 512.0 KiB
#19 Memory Exceeded (-9) ≥203ms ≥16.0 MiB
#20 Memory Exceeded (-9) ≥200ms ≥16.0 MiB
#21 Accepted 7ms 656.0 KiB
#22 Accepted 6ms 604.0 KiB
#23 Accepted 145ms 4.129 MiB
#24 Accepted 95ms 3.184 MiB
#25 Memory Exceeded (-9) ≥201ms ≥16.0 MiB
#26 Memory Exceeded (-9) ≥200ms ≥16.0 MiB
#27 Memory Exceeded (-9) ≥203ms ≥16.0 MiB
#28 Memory Exceeded (-9) ≥201ms ≥16.0 MiB
#29 Time Exceeded (-9) ≥204ms ≥2.281 MiB
#30 Time Exceeded (-9) ≥206ms ≥2.406 MiB
#31 Memory Exceeded (-9) ≥200ms ≥16.0 MiB
#32 Memory Exceeded (-9) ≥200ms ≥16.0 MiB
#33 Memory Exceeded (-9) ≥201ms ≥16.0 MiB
#34 Memory Exceeded (-9) ≥202ms ≥16.0 MiB
#35 Memory Exceeded (-9) ≥302ms ≥16.0 MiB
#36 Memory Exceeded (-9) ≥300ms ≥16.0 MiB
#37 Time Exceeded (-9) ≥200ms ≥11.203 MiB
#38 Time Exceeded (-9) ≥202ms ≥11.281 MiB
#39 Memory Exceeded (-9) ≥301ms ≥16.0 MiB
#40 Memory Exceeded (-9) ≥302ms ≥16.0 MiB
#41 Memory Exceeded (-9) ≥402ms ≥16.0 MiB
#42 Memory Exceeded (-9) ≥402ms ≥16.0 MiB
#43 Memory Exceeded (-9) ≥1901ms ≥128.0 MiB
#44 Memory Exceeded (-9) ≥1902ms ≥128.0 MiB
#45 Time Exceeded (-9) ≥300ms ≥11.25 MiB
#46 Time Exceeded (-9) ≥301ms ≥11.188 MiB
#47 Time Exceeded (-9) ≥803ms ≥19.848 MiB
#48 Time Exceeded (-9) ≥800ms ≥19.797 MiB
#49 Time Exceeded (-9) ≥2500ms ≥66.988 MiB
#50 Time Exceeded (-9) ≥4500ms ≥72.477 MiB

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-17 03:14:26
Judged By
Score
400
Total Time
18147ms
Peak Memory
128.0 MiB