Runtime Error

/in/p2.cpp: In function 'opaque_list* insert_list_helper(list_t, list_t, list_t, unsigned int, int)':
/in/p2.cpp:301:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (size_first == n) {
             ~~~~~~~~~~~^~~~
/in/p2.cpp:304:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (size_first - size(first) < n || list_isEmpty(second) == 1) {
                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/in/p2.cpp: In function 'opaque_list* insert_list(list_t, list_t, unsigned int)':
/in/p2.cpp:315:12: warning: unused variable 'v' [-Wunused-variable]
     list_t v = list_make();
            ^
/in/p2.cpp: In function 'opaque_list* chop_helper(list_t, list_t, unsigned int)':
/in/p2.cpp:331:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (size(list) > n) {
         ~~~~~~~~~~~^~~
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:376:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/p2.cpp: In function 'int tree_max_helper(int, int, int)':
/in/p2.cpp:426:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Status Time Cost Memory Cost
#1 Accepted Detail 2ms 404.0 KiB
#2 Accepted Detail 3ms 380.0 KiB
#3 Accepted Detail 3ms 384.0 KiB
#4 Accepted Detail 1ms 384.0 KiB
#5 Accepted Detail 2ms 412.0 KiB
#6 Accepted Detail 2ms 384.0 KiB
#7 Accepted Detail 3ms 472.0 KiB
#8 Accepted Detail 4ms 528.0 KiB
#9 Accepted Detail 3ms 508.0 KiB
#10 Accepted Detail 2ms 604.0 KiB
#11 Accepted Detail 1ms 384.0 KiB
#12 Accepted Detail 2ms 420.0 KiB
#13 Accepted Detail 2ms 404.0 KiB
#14 Accepted Detail 3ms 424.0 KiB
#15 Accepted Detail 2ms 332.0 KiB
#16 Accepted Detail 3ms 424.0 KiB
#17 Accepted Detail 2ms 380.0 KiB
#18 Accepted Detail 2ms 404.0 KiB
#19 Accepted Detail 2ms 424.0 KiB
#20 Accepted Detail 2ms 380.0 KiB
#21 Accepted Detail 2ms 404.0 KiB
#22 Accepted Detail 18ms 520.0 KiB
#23 Accepted Detail 2ms 460.0 KiB
#24 Accepted Detail 1ms 380.0 KiB
#25 Accepted Detail 3ms 452.0 KiB
#26 Accepted Detail 2ms 440.0 KiB
#27 Accepted Detail 2ms 384.0 KiB
#28 Accepted Detail 2ms 396.0 KiB
#29 Accepted Detail 1ms 384.0 KiB
#30 Accepted Detail 2ms 380.0 KiB
#31 Accepted Detail 2ms 424.0 KiB
#32 Accepted Detail 2ms 380.0 KiB
#33 Accepted Detail 3ms 512.0 KiB
#34 Accepted Detail 4ms 728.0 KiB
#35 Accepted Detail 3ms 728.0 KiB
#36 Accepted Detail 4ms 528.0 KiB
#37 Accepted Detail 3ms 488.0 KiB
#38 Accepted Detail 3ms 736.0 KiB
#39 Accepted Detail 2ms 376.0 KiB
#40 Accepted Detail 3ms 604.0 KiB
#41 Accepted Detail 2ms 380.0 KiB
#42 Accepted Detail 1ms 384.0 KiB
#43 Accepted Detail 2ms 384.0 KiB
#44 Accepted Detail 2ms 424.0 KiB
#45 Accepted Detail 2ms 404.0 KiB
#46 Accepted Detail 2ms 384.0 KiB
#47 Accepted Detail 2ms 384.0 KiB
#48 Accepted Detail 2ms 384.0 KiB
#49 Accepted Detail 2ms 376.0 KiB
#50 Accepted Detail 3ms 392.0 KiB
#51 Accepted Detail 4ms 660.0 KiB
#52 Accepted Detail 2ms 508.0 KiB
#53 Accepted Detail 2ms 384.0 KiB
#54 Accepted Detail 2ms 384.0 KiB
#55 Accepted Detail 2ms 384.0 KiB
#56 Accepted Detail 3ms 384.0 KiB
#57 Accepted Detail 2ms 400.0 KiB
#58 Accepted Detail 3ms 376.0 KiB
#59 Accepted Detail 2ms 532.0 KiB
#60 Accepted Detail 2ms 376.0 KiB
#61 Accepted Detail 1ms 456.0 KiB
#62 Accepted Detail 2ms 348.0 KiB
#63 Accepted Detail 3ms 392.0 KiB
#64 Wrong Answer Detail 2ms 404.0 KiB
#65 Wrong Answer Detail 2ms 380.0 KiB
#66 Accepted Detail 2ms 384.0 KiB
#67 Wrong Answer Detail 3ms 384.0 KiB
#68 Accepted Detail 3ms 424.0 KiB
#69 Accepted Detail 2ms 352.0 KiB
#70 Accepted Detail 2ms 384.0 KiB
#71 Accepted Detail 2ms 380.0 KiB
#72 Accepted Detail 2ms 384.0 KiB
#73 Accepted Detail 1ms 384.0 KiB
#74 Accepted Detail 2ms 332.0 KiB
#75 Accepted Detail 2ms 384.0 KiB
#76 Accepted Detail 2ms 384.0 KiB
#77 Accepted Detail 2ms 380.0 KiB
#78 Accepted Detail 3ms 1.102 MiB
#79 Accepted Detail 5ms 1.539 MiB
#80 Accepted Detail 7ms 1.75 MiB
#81 Accepted Detail 4ms 1.438 MiB
#82 Accepted Detail 2ms 764.0 KiB
#83 Accepted Detail 2ms 380.0 KiB
#84 Accepted Detail 2ms 384.0 KiB
#85 Accepted Detail 2ms 452.0 KiB
#86 Accepted Detail 2ms 508.0 KiB
#87 Accepted Detail 2ms 376.0 KiB
#88 Accepted Detail 2ms 404.0 KiB
#89 Accepted Detail 2ms 380.0 KiB
#90 Accepted Detail 3ms 332.0 KiB
#91 Accepted Detail 2ms 392.0 KiB
#92 Wrong Answer Detail 1ms 384.0 KiB
#93 Accepted Detail 2ms 452.0 KiB
#94 Accepted Detail 2ms 380.0 KiB
#95 Accepted Detail 4ms 380.0 KiB
#96 Accepted Detail 4ms 768.0 KiB
#97 Accepted Detail 2ms 384.0 KiB
#98 Accepted Detail 2ms 384.0 KiB
#99 Accepted Detail 2ms 332.0 KiB
#100 Accepted Detail 2ms 384.0 KiB
#101 Accepted Detail 2ms 384.0 KiB
#102 Accepted Detail 3ms 496.0 KiB
#103 Accepted Detail 9ms 1.133 MiB
#104 Accepted Detail 8ms 1.039 MiB
#105 Accepted Detail 2ms 380.0 KiB
#106 Accepted Detail 3ms 636.0 KiB
#107 Accepted Detail 3ms 384.0 KiB
#108 Accepted Detail 54ms 8.41 MiB
#109 Accepted Detail 54ms 8.461 MiB
#110 Accepted Detail 2ms 456.0 KiB
#111 Accepted Detail 52ms 8.344 MiB
#112 Accepted Detail 55ms 8.367 MiB
#113 Accepted Detail 2ms 388.0 KiB
#114 Accepted Detail 27ms 4.379 MiB
#115 Accepted Detail 27ms 4.445 MiB
#116 Accepted Detail 2ms 384.0 KiB
#117 Accepted Detail 37ms 4.445 MiB
#118 Runtime Error (-6) Detail 2ms 492.0 KiB
#119 Accepted Detail 4ms 756.0 KiB
#120 Accepted Detail 2ms 380.0 KiB
#121 Accepted Detail 44ms 7.031 MiB
#122 Accepted Detail 2ms 384.0 KiB
#123 Accepted Detail 9ms 536.0 KiB

Information

Submit By
Type
Submission
Homework
Project Two: Recursion
Language
C++
Submit At
2019-06-14 23:35:32
Judged At
2019-06-22 16:43:52
Judged By
Score
1180
Total Time
706ms
Peak Memory
8.461 MiB