Runtime Error

/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:352:14: warning: 'Rmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
 int max,Lmax,Rmax;
              ^~~~
/in/p2.cpp:352:9: warning: 'Lmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
 int max,Lmax,Rmax;
         ^~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 376.0 KiB
#2 Accepted Detail 2ms 384.0 KiB
#3 Accepted Detail 2ms 376.0 KiB
#4 Accepted Detail 1ms 384.0 KiB
#5 Accepted Detail 2ms 384.0 KiB
#6 Accepted Detail 2ms 400.0 KiB
#7 Accepted Detail 2ms 512.0 KiB
#8 Accepted Detail 3ms 520.0 KiB
#9 Accepted Detail 2ms 476.0 KiB
#10 Accepted Detail 2ms 512.0 KiB
#11 Accepted Detail 2ms 384.0 KiB
#12 Accepted Detail 2ms 380.0 KiB
#13 Accepted Detail 2ms 424.0 KiB
#14 Accepted Detail 2ms 384.0 KiB
#15 Accepted Detail 1ms 384.0 KiB
#16 Accepted Detail 1ms 404.0 KiB
#17 Accepted Detail 2ms 384.0 KiB
#18 Accepted Detail 2ms 424.0 KiB
#19 Accepted Detail 2ms 420.0 KiB
#20 Accepted Detail 1ms 384.0 KiB
#21 Accepted Detail 2ms 404.0 KiB
#22 Time Exceeded (-9) Detail ≥10002ms ≥311.664 MiB
#23 Accepted Detail 14ms 784.0 KiB
#24 Wrong Answer Detail 2ms 440.0 KiB
#25 Wrong Answer Detail 2ms 376.0 KiB
#26 Wrong Answer Detail 2ms 384.0 KiB
#27 Wrong Answer Detail 1ms 392.0 KiB
#28 Accepted Detail 2ms 404.0 KiB
#29 Wrong Answer Detail 2ms 392.0 KiB
#30 Wrong Answer Detail 1ms 404.0 KiB
#31 Wrong Answer Detail 1ms 404.0 KiB
#32 Wrong Answer Detail 2ms 476.0 KiB
#33 Wrong Answer Detail 3ms 512.0 KiB
#34 Accepted Detail 4ms 808.0 KiB
#35 Wrong Answer Detail 3ms 520.0 KiB
#36 Wrong Answer Detail 2ms 512.0 KiB
#37 Wrong Answer Detail 2ms 504.0 KiB
#38 Accepted Detail 3ms 644.0 KiB
#39 Wrong Answer Detail 2ms 440.0 KiB
#40 Wrong Answer Detail 3ms 728.0 KiB
#41 Wrong Answer Detail 1ms 424.0 KiB
#42 Wrong Answer Detail 2ms 380.0 KiB
#43 Wrong Answer Detail 2ms 384.0 KiB
#44 Wrong Answer Detail 1ms 392.0 KiB
#45 Accepted Detail 2ms 348.0 KiB
#46 Accepted Detail 2ms 388.0 KiB
#47 Accepted Detail 1ms 392.0 KiB
#48 Accepted Detail 2ms 384.0 KiB
#49 Accepted Detail 1ms 328.0 KiB
#50 Accepted Detail 2ms 380.0 KiB
#51 Accepted Detail 4ms 712.0 KiB
#52 Accepted Detail 2ms 504.0 KiB
#53 Accepted Detail 2ms 384.0 KiB
#54 Accepted Detail 2ms 464.0 KiB
#55 Accepted Detail 3ms 476.0 KiB
#56 Accepted Detail 2ms 384.0 KiB
#57 Accepted Detail 2ms 380.0 KiB
#58 Accepted Detail 2ms 424.0 KiB
#59 Accepted Detail 2ms 396.0 KiB
#60 Accepted Detail 2ms 384.0 KiB
#61 Wrong Answer Detail 2ms 376.0 KiB
#62 Wrong Answer Detail 2ms 388.0 KiB
#63 Wrong Answer Detail 2ms 404.0 KiB
#64 Wrong Answer Detail 2ms 376.0 KiB
#65 Wrong Answer Detail 1ms 380.0 KiB
#66 Wrong Answer Detail 1ms 384.0 KiB
#67 Wrong Answer Detail 2ms 416.0 KiB
#68 Wrong Answer Detail 2ms 384.0 KiB
#69 Wrong Answer Detail 2ms 384.0 KiB
#70 Wrong Answer Detail 2ms 472.0 KiB
#71 Wrong Answer Detail 2ms 384.0 KiB
#72 Wrong Answer Detail 2ms 392.0 KiB
#73 Accepted Detail 1ms 376.0 KiB
#74 Runtime Error (-6) Detail 2ms 456.0 KiB
#75 Runtime Error (-6) Detail 2ms 460.0 KiB
#76 Runtime Error (-6) Detail 2ms 464.0 KiB
#77 Accepted Detail 2ms 384.0 KiB
#78 Runtime Error (-6) Detail 2ms 640.0 KiB
#79 Runtime Error (-6) Detail 2ms 508.0 KiB
#80 Runtime Error (-6) Detail 2ms 528.0 KiB
#81 Runtime Error (-6) Detail 2ms 452.0 KiB
#82 Runtime Error (-6) Detail 2ms 456.0 KiB
#83 Runtime Error (-6) Detail 2ms 460.0 KiB
#84 Runtime Error (-6) Detail 2ms 464.0 KiB
#85 Runtime Error (-6) Detail 2ms 792.0 KiB
#86 Runtime Error (-6) Detail 2ms 496.0 KiB
#87 Accepted Detail 1ms 384.0 KiB
#88 Accepted Detail 2ms 376.0 KiB
#89 Accepted Detail 2ms 512.0 KiB
#90 Runtime Error (-6) Detail 2ms 464.0 KiB
#91 Runtime Error (-6) Detail 2ms 472.0 KiB
#92 Accepted Detail 2ms 380.0 KiB
#93 Accepted Detail 2ms 392.0 KiB
#94 Accepted Detail 2ms 448.0 KiB
#95 Accepted Detail 5ms 1.633 MiB
#96 Accepted Detail 4ms 776.0 KiB
#97 Accepted Detail 2ms 384.0 KiB
#98 Accepted Detail 1ms 384.0 KiB
#99 Accepted Detail 2ms 384.0 KiB
#100 Accepted Detail 1ms 384.0 KiB
#101 Accepted Detail 2ms 404.0 KiB
#102 Accepted Detail 2ms 384.0 KiB
#103 Accepted Detail 8ms 1.168 MiB
#104 Runtime Error (-6) Detail 8ms 1.066 MiB
#105 Accepted Detail 5ms 1.477 MiB
#106 Accepted Detail 669ms 72.574 MiB
#107 Accepted Detail 24ms 5.809 MiB
#108 Runtime Error (-6) Detail 27ms 4.477 MiB
#109 Runtime Error (-6) Detail 49ms 8.531 MiB
#110 Runtime Error (-6) Detail 2ms 460.0 KiB
#111 Runtime Error (-6) Detail 27ms 4.449 MiB
#112 Runtime Error (-6) Detail 2ms 464.0 KiB
#113 Runtime Error (-6) Detail 2ms 460.0 KiB
#114 Accepted Detail 26ms 4.324 MiB
#115 Runtime Error (-6) Detail 26ms 4.461 MiB
#116 Runtime Error (-6) Detail 2ms 404.0 KiB
#117 Accepted Detail 34ms 4.461 MiB
#118 Runtime Error (-6) Detail 2ms 460.0 KiB
#119 Runtime Error (-6) Detail 2ms 468.0 KiB
#120 Runtime Error (-6) Detail 2ms 508.0 KiB
#121 Runtime Error (-6) Detail 2ms 548.0 KiB
#122 Wrong Answer Detail 2ms 456.0 KiB
#123 Wrong Answer Detail 2ms 504.0 KiB

Information

Submit By
Type
Submission
Homework
Project Two: Recursion
Language
C++
Submit At
2019-06-15 22:35:59
Judged At
2019-06-22 17:00:46
Judged By
Score
630
Total Time
11192ms
Peak Memory
311.664 MiB