Record Detail

Runtime Error

/in/p2.cpp: In function 'opaque_list* append(list_t, list_t)':
/in/p2.cpp:95:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'opaque_list* filter_odd(list_t)':
/in/p2.cpp:135:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'opaque_list* filter(list_t, bool (*)(int))':
/in/p2.cpp:151:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'opaque_list* unique(list_t)':
/in/p2.cpp:170:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'int tree_sum(tree_t)':
/in/p2.cpp:241: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:261:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'int depth(tree_t)':
/in/p2.cpp:301:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:317:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'opaque_list* traversal(tree_t)':
/in/p2.cpp:334:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'bool increasingPath(tree_t)':
/in/p2.cpp:362:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'bool decreasingPath(tree_t)':
/in/p2.cpp:389:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'int minpath(tree_t)':
/in/p2.cpp:419:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'opaque_tree* insert_tree(int, tree_t)':
/in/p2.cpp:500:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Status Time Cost Memory Cost
#1 Accepted 4ms 1.133 MiB
#2 Runtime Error (-6) 2ms 456.0 KiB
#3 Accepted 42ms 4.441 MiB
#4 Accepted 80ms 8.344 MiB
#5 Runtime Error (-6) 2ms 460.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 1ms 336.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 1ms 380.0 KiB
#10 Accepted 1ms 384.0 KiB
#11 Runtime Error (-6) 2ms 416.0 KiB
#12 Accepted 1ms 384.0 KiB
#13 Accepted 1ms 388.0 KiB
#14 Accepted 2ms 404.0 KiB
#15 Accepted 1ms 356.0 KiB
#16 Runtime Error (-6) 2ms 512.0 KiB
#17 Accepted 1119ms 4.434 MiB
#18 Accepted 1ms 404.0 KiB
#19 Accepted 1ms 460.0 KiB
#20 Runtime Error (-6) 2ms 456.0 KiB
#21 Accepted 1ms 384.0 KiB
#22 Accepted 2ms 452.0 KiB
#23 Accepted 23ms 6.664 MiB
#24 Wrong Answer 2ms 452.0 KiB
#25 Accepted 84ms 8.449 MiB
#26 Accepted 2ms 380.0 KiB
#27 Accepted 2ms 428.0 KiB
#28 Accepted 2ms 444.0 KiB
#29 Accepted 1ms 360.0 KiB
#30 Accepted 2ms 392.0 KiB
#31 Accepted 1ms 384.0 KiB
#32 Accepted 51ms 4.449 MiB
#33 Accepted 2ms 384.0 KiB
#34 Accepted 1ms 384.0 KiB
#35 Accepted 1ms 404.0 KiB
#36 Accepted 1ms 384.0 KiB
#37 Accepted 14ms 2.023 MiB
#38 Accepted 1ms 384.0 KiB
#39 Accepted 2ms 460.0 KiB
#40 Accepted 1ms 384.0 KiB
#41 Accepted 1ms 396.0 KiB
#42 Accepted 2ms 440.0 KiB
#43 Accepted 2ms 456.0 KiB
#44 Accepted 2ms 452.0 KiB
#45 Accepted 33ms 9.707 MiB
#46 Runtime Error (-6) 2ms 424.0 KiB
#47 Accepted 1ms 388.0 KiB
#48 Accepted 1ms 384.0 KiB
#49 Accepted 1ms 384.0 KiB
#50 Accepted 1ms 388.0 KiB
#51 Accepted 1ms 392.0 KiB
#52 Accepted 2ms 384.0 KiB
#53 Accepted 2ms 384.0 KiB
#54 Accepted 1ms 452.0 KiB
#55 Accepted 1ms 392.0 KiB
#56 Accepted 2ms 388.0 KiB
#57 Accepted 1ms 384.0 KiB
#58 Accepted 1ms 416.0 KiB
#59 Accepted 11ms 1.98 MiB
#60 Accepted 1ms 388.0 KiB
#61 Accepted 2ms 448.0 KiB
#62 Accepted 1ms 392.0 KiB
#63 Accepted 2ms 380.0 KiB
#64 Accepted 2ms 384.0 KiB
#65 Accepted 1ms 336.0 KiB
#66 Accepted 2ms 644.0 KiB
#67 Accepted 1ms 392.0 KiB
#68 Wrong Answer 2ms 384.0 KiB
#69 Wrong Answer 1ms 392.0 KiB
#70 Accepted 2ms 440.0 KiB
#71 Accepted 2ms 384.0 KiB
#72 Accepted 1ms 392.0 KiB
#73 Accepted 1ms 384.0 KiB
#74 Accepted 1ms 424.0 KiB
#75 Accepted 2ms 604.0 KiB
#76 Accepted 1ms 384.0 KiB
#77 Accepted 2ms 456.0 KiB
#78 Accepted 1ms 388.0 KiB
#79 Accepted 1ms 384.0 KiB
#80 Accepted 1ms 512.0 KiB
#81 Accepted 1ms 384.0 KiB
#82 Accepted 14ms 4.23 MiB
#83 Accepted 1ms 384.0 KiB
#84 Accepted 1ms 388.0 KiB
#85 Accepted 2ms 384.0 KiB
#86 Accepted 2ms 384.0 KiB
#87 Accepted 2ms 384.0 KiB
#88 Accepted 2ms 588.0 KiB
#89 Accepted 12ms 3.418 MiB
#90 Wrong Answer 2ms 404.0 KiB
#91 Wrong Answer 1ms 384.0 KiB
#92 Accepted 2ms 440.0 KiB
#93 Accepted 2ms 624.0 KiB
#94 Accepted 5ms 700.0 KiB
#95 Accepted 27ms 7.992 MiB
#96 Accepted 1ms 384.0 KiB
#97 Accepted 3ms 896.0 KiB
#98 Accepted 2ms 380.0 KiB
#99 Accepted 4ms 660.0 KiB
#100 Accepted 2ms 392.0 KiB
#101 Accepted 2ms 420.0 KiB
#102 Accepted 1ms 360.0 KiB
#103 Accepted 2ms 388.0 KiB
#104 Accepted 42ms 12.273 MiB
#105 Accepted 1205ms 4.609 MiB
#106 Accepted 1ms 440.0 KiB
#107 Accepted 3ms 556.0 KiB
#108 Accepted 3ms 772.0 KiB
#109 Accepted 3ms 584.0 KiB
#110 Accepted 3ms 648.0 KiB
#111 Accepted 11ms 3.219 MiB
#112 Wrong Answer 2ms 424.0 KiB
#113 Accepted 42ms 4.398 MiB
#114 Accepted 82ms 8.441 MiB
#115 Accepted 2ms 512.0 KiB
#116 Accepted 2ms 384.0 KiB
#117 Accepted 10ms 2.957 MiB
#118 Accepted 2ms 404.0 KiB
#119 Accepted 993ms 281.285 MiB
#120 Accepted 72ms 544.0 KiB
#121 Accepted 26ms 552.0 KiB
#122 Accepted 2ms 416.0 KiB
#123 Accepted 2ms 480.0 KiB
#124 Accepted 16ms 4.695 MiB
#125 Accepted 2ms 388.0 KiB
#126 Accepted 2ms 640.0 KiB
#127 Accepted 1ms 384.0 KiB
#128 Accepted 2ms 384.0 KiB
#129 Accepted 2ms 384.0 KiB
#130 Accepted 4ms 648.0 KiB
#131 Accepted 4ms 688.0 KiB
#132 Accepted 1ms 404.0 KiB

Information

Submit By
Type
Submission
Homework
Project 2
Language
C++
Submit At
2022-10-19 20:08:24
Judged At
2022-10-23 10:20:59
Judged By
Score
1200
Total Time
4266ms
Peak Memory
281.285 MiB