Record Detail

Runtime Error

/in/p2.cpp: In function 'int sum_min(tree_t)':
/in/p2.cpp:239:9: warning: unused variable 'left' [-Wunused-variable]
     int left=tree_elt(tree_left(tree));
         ^~~~
/in/p2.cpp:240:9: warning: unused variable 'right' [-Wunused-variable]
     int right=tree_elt(tree_right(tree));
         ^~~~~
/in/p2.cpp: In function 'int size(list_t)':
/in/p2.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'opaque_list* chop(list_t, unsigned int)':
/in/p2.cpp:123:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:143:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:176:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'bool monotonicpath_increasing(tree_t)':
/in/p2.cpp:205:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'bool monotonicpath_decreasing(tree_t)':
/in/p2.cpp:223:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Status Time Cost Memory Cost
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Accepted 41ms 4.332 MiB
#4 Accepted 81ms 8.387 MiB
#5 Accepted 1ms 360.0 KiB
#6 Accepted 1ms 392.0 KiB
#7 Accepted 1ms 452.0 KiB
#8 Accepted 2ms 392.0 KiB
#9 Accepted 1ms 384.0 KiB
#10 Accepted 2ms 392.0 KiB
#11 Accepted 1ms 392.0 KiB
#12 Accepted 1ms 384.0 KiB
#13 Accepted 1ms 424.0 KiB
#14 Accepted 1ms 388.0 KiB
#15 Accepted 2ms 400.0 KiB
#16 Accepted 1ms 384.0 KiB
#17 Accepted 73ms 4.438 MiB
#18 Accepted 1ms 392.0 KiB
#19 Accepted 2ms 404.0 KiB
#20 Accepted 1ms 384.0 KiB
#21 Accepted 2ms 384.0 KiB
#22 Accepted 2ms 388.0 KiB
#23 Accepted 2ms 464.0 KiB
#24 Accepted 2ms 388.0 KiB
#25 Accepted 93ms 8.445 MiB
#26 Accepted 2ms 456.0 KiB
#27 Accepted 2ms 424.0 KiB
#28 Accepted 1ms 384.0 KiB
#29 Wrong Answer 1ms 400.0 KiB
#30 Accepted 2ms 388.0 KiB
#31 Wrong Answer 2ms 512.0 KiB
#32 Accepted 51ms 4.453 MiB
#33 Accepted 2ms 348.0 KiB
#34 Accepted 1ms 384.0 KiB
#35 Accepted 1ms 404.0 KiB
#36 Accepted 2ms 384.0 KiB
#37 Accepted 14ms 2.09 MiB
#38 Accepted 1ms 384.0 KiB
#39 Runtime Error (-6) 2ms 476.0 KiB
#40 Accepted 2ms 388.0 KiB
#41 Accepted 2ms 404.0 KiB
#42 Wrong Answer 1ms 380.0 KiB
#43 Accepted 2ms 336.0 KiB
#44 Wrong Answer 2ms 404.0 KiB
#45 Accepted 2ms 640.0 KiB
#46 Accepted 1ms 460.0 KiB
#47 Accepted 1ms 380.0 KiB
#48 Accepted 2ms 336.0 KiB
#49 Accepted 2ms 388.0 KiB
#50 Accepted 1ms 392.0 KiB
#51 Wrong Answer 1ms 384.0 KiB
#52 Accepted 1ms 404.0 KiB
#53 Wrong Answer 2ms 384.0 KiB
#54 Accepted 1ms 400.0 KiB
#55 Accepted 2ms 400.0 KiB
#56 Accepted 2ms 400.0 KiB
#57 Accepted 1ms 384.0 KiB
#58 Accepted 2ms 448.0 KiB
#59 Accepted 12ms 1.895 MiB
#60 Accepted 2ms 384.0 KiB
#61 Runtime Error (-6) 2ms 464.0 KiB
#62 Accepted 2ms 472.0 KiB
#63 Accepted 2ms 380.0 KiB
#64 Wrong Answer 2ms 388.0 KiB
#65 Accepted 2ms 404.0 KiB
#66 Wrong Answer 2ms 440.0 KiB
#67 Accepted 2ms 384.0 KiB
#68 Accepted 1ms 452.0 KiB
#69 Accepted 2ms 384.0 KiB
#70 Accepted 2ms 448.0 KiB
#71 Accepted 2ms 444.0 KiB
#72 Accepted 1ms 388.0 KiB
#73 Wrong Answer 1ms 384.0 KiB
#74 Accepted 2ms 396.0 KiB
#75 Wrong Answer 2ms 384.0 KiB
#76 Accepted 1ms 456.0 KiB
#77 Accepted 2ms 444.0 KiB
#78 Accepted 1ms 332.0 KiB
#79 Accepted 2ms 384.0 KiB
#80 Accepted 1ms 384.0 KiB
#81 Accepted 2ms 328.0 KiB
#82 Accepted 2ms 512.0 KiB
#83 Runtime Error (-6) 2ms 468.0 KiB
#84 Wrong Answer 2ms 404.0 KiB
#85 Accepted 2ms 476.0 KiB
#86 Wrong Answer 2ms 464.0 KiB
#87 Accepted 2ms 384.0 KiB
#88 Wrong Answer 1ms 380.0 KiB
#89 Accepted 3ms 460.0 KiB
#90 Accepted 2ms 396.0 KiB
#91 Accepted 1ms 460.0 KiB
#92 Accepted 1ms 512.0 KiB
#93 Accepted 2ms 512.0 KiB
#94 Accepted 6ms 708.0 KiB
#95 Wrong Answer 2ms 440.0 KiB
#96 Accepted 1ms 408.0 KiB
#97 Wrong Answer 2ms 384.0 KiB
#98 Accepted 1ms 384.0 KiB
#99 Accepted 4ms 656.0 KiB
#100 Accepted 1ms 384.0 KiB
#101 Accepted 2ms 384.0 KiB
#102 Accepted 1ms 388.0 KiB
#103 Accepted 1ms 384.0 KiB
#104 Accepted 3ms 768.0 KiB
#105 Accepted 70ms 4.434 MiB
#106 Accepted 2ms 384.0 KiB
#107 Accepted 5ms 564.0 KiB
#108 Wrong Answer 3ms 640.0 KiB
#109 Accepted 3ms 492.0 KiB
#110 Wrong Answer 2ms 452.0 KiB
#111 Accepted 2ms 400.0 KiB
#112 Accepted 5ms 500.0 KiB
#113 Accepted 42ms 4.379 MiB
#114 Accepted 83ms 8.438 MiB
#115 Accepted 2ms 404.0 KiB
#116 Accepted 2ms 388.0 KiB
#117 Wrong Answer 2ms 424.0 KiB
#118 Accepted 1ms 460.0 KiB
#119 Wrong Answer 4ms 640.0 KiB
#120 Accepted 1ms 436.0 KiB
#121 Accepted 2ms 512.0 KiB
#122 Accepted 1ms 384.0 KiB
#123 Accepted 3ms 512.0 KiB
#124 Accepted 2ms 512.0 KiB
#125 Accepted 2ms 384.0 KiB
#126 Accepted 2ms 424.0 KiB
#127 Runtime Error (-6) 2ms 468.0 KiB
#128 Wrong Answer 2ms 400.0 KiB
#129 Accepted 2ms 416.0 KiB
#130 Wrong Answer 4ms 664.0 KiB
#131 Accepted 3ms 520.0 KiB
#132 Wrong Answer 1ms 444.0 KiB

Information

Submit By
Type
Submission
Homework
Project 2
Language
C++
Submit At
2022-10-19 08:25:07
Judged At
2022-10-23 10:14:51
Judged By
Score
1060
Total Time
847ms
Peak Memory
8.445 MiB