Record Detail

Memory Exceeded

/in/p2.cpp: In function 'bool tree_allPathSumGreater(tree_t, int)':
/in/p2.cpp:122:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
            ((!tree_isEmpty(tree_left(tree)) && tree_allPathSumGreater(tree_left(tree), sum - tree_elt(tree))) &&
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
            (!tree_isEmpty(tree_right(tree)) && tree_allPathSumGreater(tree_right(tree), sum - tree_elt(tree))) ||
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
# Status Time Cost Memory Cost
#1 Accepted 2ms 460.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 41ms 4.332 MiB
#4 Accepted 86ms 8.441 MiB
#5 Accepted 2ms 392.0 KiB
#6 Accepted 2ms 424.0 KiB
#7 Accepted 2ms 388.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 1ms 384.0 KiB
#11 Accepted 1ms 384.0 KiB
#12 Accepted 1ms 404.0 KiB
#13 Accepted 1ms 380.0 KiB
#14 Accepted 2ms 388.0 KiB
#15 Accepted 1ms 336.0 KiB
#16 Accepted 1ms 384.0 KiB
#17 Accepted 40ms 4.352 MiB
#18 Wrong Answer 1ms 384.0 KiB
#19 Accepted 1ms 392.0 KiB
#20 Accepted 1ms 424.0 KiB
#21 Accepted 1ms 452.0 KiB
#22 Accepted 1ms 456.0 KiB
#23 Accepted 2ms 476.0 KiB
#24 Accepted 2ms 384.0 KiB
#25 Accepted 84ms 8.418 MiB
#26 Accepted 2ms 384.0 KiB
#27 Accepted 2ms 424.0 KiB
#28 Accepted 2ms 392.0 KiB
#29 Accepted 1ms 384.0 KiB
#30 Accepted 1ms 392.0 KiB
#31 Accepted 1ms 384.0 KiB
#32 Accepted 52ms 4.496 MiB
#33 Accepted 2ms 388.0 KiB
#34 Accepted 2ms 392.0 KiB
#35 Accepted 1ms 404.0 KiB
#36 Accepted 1ms 336.0 KiB
#37 Accepted 13ms 1.773 MiB
#38 Accepted 1ms 384.0 KiB
#39 Accepted 1ms 500.0 KiB
#40 Accepted 1ms 464.0 KiB
#41 Accepted 1ms 384.0 KiB
#42 Accepted 2ms 384.0 KiB
#43 Accepted 2ms 404.0 KiB
#44 Accepted 2ms 512.0 KiB
#45 Accepted 2ms 512.0 KiB
#46 Accepted 2ms 512.0 KiB
#47 Accepted 2ms 400.0 KiB
#48 Accepted 2ms 392.0 KiB
#49 Accepted 4ms 408.0 KiB
#50 Accepted 1ms 384.0 KiB
#51 Accepted 1ms 392.0 KiB
#52 Accepted 2ms 396.0 KiB
#53 Accepted 2ms 512.0 KiB
#54 Accepted 1ms 448.0 KiB
#55 Accepted 1ms 384.0 KiB
#56 Accepted 2ms 400.0 KiB
#57 Accepted 1ms 460.0 KiB
#58 Accepted 1ms 404.0 KiB
#59 Accepted 12ms 1.59 MiB
#60 Accepted 1ms 440.0 KiB
#61 Accepted 1ms 388.0 KiB
#62 Accepted 1ms 392.0 KiB
#63 Time Exceeded (-9) ≥5003ms ≥444.0 KiB
#64 Accepted 1ms 388.0 KiB
#65 Accepted 1ms 384.0 KiB
#66 Accepted 3ms 656.0 KiB
#67 Accepted 1ms 376.0 KiB
#68 Accepted 2ms 396.0 KiB
#69 Accepted 2ms 476.0 KiB
#70 Accepted 1ms 388.0 KiB
#71 Accepted 11ms 464.0 KiB
#72 Accepted 2ms 388.0 KiB
#73 Accepted 2ms 336.0 KiB
#74 Accepted 1ms 388.0 KiB
#75 Accepted 58ms 19.371 MiB
#76 Accepted 1ms 384.0 KiB
#77 Accepted 1ms 376.0 KiB
#78 Accepted 2ms 400.0 KiB
#79 Accepted 2ms 384.0 KiB
#80 Accepted 2ms 508.0 KiB
#81 Accepted 2ms 440.0 KiB
#82 Accepted 2ms 516.0 KiB
#83 Wrong Answer 1ms 336.0 KiB
#84 Accepted 1ms 404.0 KiB
#85 Time Exceeded (-9) ≥5056ms ≥384.0 KiB
#86 Accepted 2ms 452.0 KiB
#87 Accepted 1ms 388.0 KiB
#88 Accepted 2ms 520.0 KiB
#89 Accepted 2ms 388.0 KiB
#90 Accepted 2ms 384.0 KiB
#91 Accepted 1ms 484.0 KiB
#92 Accepted 1ms 328.0 KiB
#93 Accepted 59ms 468.0 KiB
#94 Accepted 6ms 700.0 KiB
#95 Accepted 2ms 512.0 KiB
#96 Accepted 1ms 424.0 KiB
#97 Accepted 46ms 15.312 MiB
#98 Accepted 2ms 392.0 KiB
#99 Accepted 4ms 612.0 KiB
#100 Accepted 1ms 384.0 KiB
#101 Accepted 1ms 380.0 KiB
#102 Accepted 1ms 480.0 KiB
#103 Accepted 1ms 384.0 KiB
#104 Accepted 3ms 744.0 KiB
#105 Wrong Answer 44ms 4.434 MiB
#106 Accepted 1ms 404.0 KiB
#107 Time Exceeded (-9) ≥5002ms ≥512.0 KiB
#108 Accepted 4ms 520.0 KiB
#109 Accepted 3ms 512.0 KiB
#110 Accepted 3ms 628.0 KiB
#111 Accepted 2ms 384.0 KiB
#112 Accepted 949ms 292.133 MiB
#113 Accepted 42ms 4.406 MiB
#114 Accepted 83ms 8.324 MiB
#115 Accepted 32ms 384.0 KiB
#116 Accepted 2ms 392.0 KiB
#117 Accepted 3ms 520.0 KiB
#118 Accepted 1ms 396.0 KiB
#119 Memory Exceeded (-9) ≥8739ms ≥1.0 GiB
#120 Accepted 2ms 464.0 KiB
#121 Accepted 3ms 536.0 KiB
#122 Accepted 2ms 444.0 KiB
#123 Accepted 3ms 444.0 KiB
#124 Accepted 17ms 4.805 MiB
#125 Accepted 2ms 440.0 KiB
#126 Accepted 2ms 436.0 KiB
#127 Wrong Answer 2ms 392.0 KiB
#128 Accepted 2ms 448.0 KiB
#129 Time Exceeded (-9) ≥5003ms ≥436.0 KiB
#130 Accepted 4ms 580.0 KiB
#131 Accepted 4ms 640.0 KiB
#132 Accepted 2ms 492.0 KiB

Information

Submit By
Type
Submission
Homework
Project 2
Language
C++
Submit At
2022-10-18 21:33:13
Judged At
2022-10-23 10:17:46
Judged By
Score
1230
Total Time
≥30732ms
Peak Memory
≥1.0 GiB