Record Detail

Wrong Answer

/in/p2.cpp:7:0: warning: ignoring #pragma region List [-Wunknown-pragmas]
 #pragma region List
 
/in/p2.cpp:116:0: warning: ignoring #pragma endregion  [-Wunknown-pragmas]
 #pragma endregion
 
/in/p2.cpp:118:0: warning: ignoring #pragma region Binary [-Wunknown-pragmas]
 #pragma region Binary Tree
 
/in/p2.cpp:238:0: warning: ignoring #pragma endregion  [-Wunknown-pragmas]
 #pragma endregion
 
/in/p2.cpp: In function 'bool is_in(int, list_t)':
/in/p2.cpp:82:67: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses]
     return list_isEmpty(list) ? false : (val == list_first(list) ?: is_in(val, list_rest(list)));
                                                                   ^
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:136:24: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses]
                       ?: tree_search(tree_left(tree), val) || tree_search(tree_right(tree), val));
                        ^
# Status Time Cost Memory Cost
#1 Accepted 4ms 1.125 MiB
#2 Accepted 1ms 388.0 KiB
#3 Accepted 41ms 4.324 MiB
#4 Accepted 80ms 8.449 MiB
#5 Accepted 2ms 388.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 456.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 1ms 392.0 KiB
#10 Accepted 1ms 336.0 KiB
#11 Accepted 2ms 384.0 KiB
#12 Accepted 2ms 384.0 KiB
#13 Accepted 1ms 384.0 KiB
#14 Accepted 2ms 384.0 KiB
#15 Accepted 1ms 456.0 KiB
#16 Accepted 1ms 384.0 KiB
#17 Accepted 39ms 4.406 MiB
#18 Accepted 1ms 424.0 KiB
#19 Accepted 1ms 392.0 KiB
#20 Accepted 1ms 384.0 KiB
#21 Accepted 2ms 392.0 KiB
#22 Accepted 2ms 448.0 KiB
#23 Accepted 23ms 6.559 MiB
#24 Accepted 2ms 384.0 KiB
#25 Accepted 83ms 8.445 MiB
#26 Accepted 2ms 392.0 KiB
#27 Accepted 1ms 456.0 KiB
#28 Accepted 2ms 388.0 KiB
#29 Accepted 2ms 384.0 KiB
#30 Accepted 2ms 384.0 KiB
#31 Accepted 1ms 456.0 KiB
#32 Accepted 52ms 4.465 MiB
#33 Accepted 1ms 384.0 KiB
#34 Accepted 2ms 440.0 KiB
#35 Accepted 2ms 412.0 KiB
#36 Accepted 2ms 404.0 KiB
#37 Accepted 13ms 1.746 MiB
#38 Accepted 1ms 404.0 KiB
#39 Accepted 2ms 460.0 KiB
#40 Accepted 1ms 376.0 KiB
#41 Accepted 1ms 400.0 KiB
#42 Accepted 1ms 384.0 KiB
#43 Accepted 2ms 392.0 KiB
#44 Accepted 2ms 552.0 KiB
#45 Accepted 32ms 9.734 MiB
#46 Accepted 2ms 384.0 KiB
#47 Accepted 1ms 384.0 KiB
#48 Accepted 2ms 384.0 KiB
#49 Accepted 2ms 384.0 KiB
#50 Accepted 1ms 456.0 KiB
#51 Accepted 1ms 396.0 KiB
#52 Accepted 1ms 384.0 KiB
#53 Accepted 2ms 392.0 KiB
#54 Accepted 1ms 432.0 KiB
#55 Accepted 1ms 384.0 KiB
#56 Accepted 1ms 384.0 KiB
#57 Accepted 1ms 420.0 KiB
#58 Accepted 1ms 384.0 KiB
#59 Accepted 12ms 1.605 MiB
#60 Accepted 1ms 384.0 KiB
#61 Accepted 1ms 384.0 KiB
#62 Accepted 1ms 384.0 KiB
#63 Accepted 1ms 448.0 KiB
#64 Accepted 1ms 408.0 KiB
#65 Accepted 1ms 384.0 KiB
#66 Accepted 2ms 588.0 KiB
#67 Accepted 1ms 464.0 KiB
#68 Accepted 2ms 384.0 KiB
#69 Accepted 1ms 448.0 KiB
#70 Accepted 1ms 336.0 KiB
#71 Accepted 2ms 384.0 KiB
#72 Accepted 2ms 336.0 KiB
#73 Accepted 1ms 380.0 KiB
#74 Accepted 1ms 328.0 KiB
#75 Accepted 2ms 644.0 KiB
#76 Accepted 1ms 328.0 KiB
#77 Accepted 1ms 332.0 KiB
#78 Accepted 1ms 328.0 KiB
#79 Accepted 1ms 412.0 KiB
#80 Accepted 2ms 512.0 KiB
#81 Accepted 1ms 388.0 KiB
#82 Accepted 24ms 6.387 MiB
#83 Wrong Answer 1ms 384.0 KiB
#84 Accepted 1ms 456.0 KiB
#85 Accepted 2ms 404.0 KiB
#86 Accepted 1ms 404.0 KiB
#87 Accepted 1ms 448.0 KiB
#88 Accepted 2ms 572.0 KiB
#89 Accepted 13ms 3.402 MiB
#90 Accepted 1ms 452.0 KiB
#91 Accepted 1ms 464.0 KiB
#92 Accepted 1ms 448.0 KiB
#93 Accepted 2ms 532.0 KiB
#94 Accepted 5ms 800.0 KiB
#95 Accepted 2ms 516.0 KiB
#96 Accepted 1ms 400.0 KiB
#97 Accepted 4ms 1.012 MiB
#98 Accepted 1ms 432.0 KiB
#99 Accepted 3ms 648.0 KiB
#100 Accepted 1ms 464.0 KiB
#101 Accepted 1ms 384.0 KiB
#102 Accepted 2ms 384.0 KiB
#103 Accepted 1ms 456.0 KiB
#104 Accepted 46ms 14.363 MiB
#105 Accepted 40ms 4.367 MiB
#106 Accepted 1ms 380.0 KiB
#107 Accepted 3ms 564.0 KiB
#108 Accepted 3ms 636.0 KiB
#109 Accepted 3ms 512.0 KiB
#110 Accepted 2ms 636.0 KiB
#111 Accepted 10ms 3.188 MiB
#112 Accepted 15ms 4.523 MiB
#113 Accepted 40ms 4.344 MiB
#114 Accepted 83ms 8.441 MiB
#115 Accepted 2ms 424.0 KiB
#116 Accepted 2ms 424.0 KiB
#117 Accepted 2ms 424.0 KiB
#118 Accepted 1ms 384.0 KiB
#119 Accepted 1424ms 439.172 MiB
#120 Accepted 1ms 380.0 KiB
#121 Accepted 2ms 520.0 KiB
#122 Accepted 2ms 436.0 KiB
#123 Accepted 2ms 540.0 KiB
#124 Accepted 15ms 4.676 MiB
#125 Accepted 2ms 400.0 KiB
#126 Accepted 2ms 512.0 KiB
#127 Accepted 1ms 396.0 KiB
#128 Accepted 1ms 404.0 KiB
#129 Accepted 2ms 384.0 KiB
#130 Accepted 4ms 656.0 KiB
#131 Accepted 4ms 580.0 KiB
#132 Accepted 1ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Project 2
Language
C++
Submit At
2022-10-17 01:22:50
Judged At
2022-10-23 10:04:19
Judged By
Score
1310
Total Time
2342ms
Peak Memory
439.172 MiB