Record Detail

Runtime Error

/in/p2.cpp: In function 'int tree_sum(tree_t)':
/in/p2.cpp:313:28: warning: no return statement in function returning non-void [-Wreturn-type]
 int tree_sum(tree_t tree) {}
                            ^
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:319:41: warning: no return statement in function returning non-void [-Wreturn-type]
 bool tree_search(tree_t tree, int val) {}
                                         ^
/in/p2.cpp: In function 'int depth(tree_t)':
/in/p2.cpp:325:25: warning: no return statement in function returning non-void [-Wreturn-type]
 int depth(tree_t tree) {}
                         ^
/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:351:28: warning: no return statement in function returning non-void [-Wreturn-type]
 int tree_max(tree_t tree) {}
                            ^
/in/p2.cpp: In function 'opaque_list* traversal(tree_t)':
/in/p2.cpp:358:32: warning: no return statement in function returning non-void [-Wreturn-type]
 list_t traversal(tree_t tree) {}
                                ^
/in/p2.cpp: In function 'bool tree_hasMonotonicPath(tree_t)':
/in/p2.cpp:390:42: warning: no return statement in function returning non-void [-Wreturn-type]
 bool tree_hasMonotonicPath(tree_t tree) {}
                                          ^
/in/p2.cpp: In function 'bool tree_allPathSumGreater(tree_t, int)':
/in/p2.cpp:424:52: warning: no return statement in function returning non-void [-Wreturn-type]
 bool tree_allPathSumGreater(tree_t tree, int sum) {}
                                                    ^
/in/p2.cpp: In function 'bool covered_by(tree_t, tree_t)':
/in/p2.cpp:453:38: warning: no return statement in function returning non-void [-Wreturn-type]
 bool covered_by(tree_t A, tree_t B) {}
                                      ^
/in/p2.cpp: In function 'bool contained_by(tree_t, tree_t)':
/in/p2.cpp:458:40: warning: no return statement in function returning non-void [-Wreturn-type]
 bool contained_by(tree_t A, tree_t B) {}
                                        ^
/in/p2.cpp: In function 'opaque_tree* insert_tree(int, tree_t)':
/in/p2.cpp:464:43: warning: no return statement in function returning non-void [-Wreturn-type]
 tree_t insert_tree(int elt, tree_t tree) {}
                                           ^
# Status Time Cost Memory Cost
#1 Accepted Detail 2ms 448.0 KiB
#2 Accepted Detail 1ms 452.0 KiB
#3 Wrong Answer Detail 38ms 4.332 MiB
#4 Wrong Answer Detail 75ms 8.336 MiB
#5 Wrong Answer Detail 1ms 452.0 KiB
#6 Accepted Detail 1ms 384.0 KiB
#7 Accepted Detail 1ms 452.0 KiB
#8 Runtime Error (-6) Detail 1ms 440.0 KiB
#9 Accepted Detail 1ms 448.0 KiB
#10 Runtime Error (-11) Detail 1ms 512.0 KiB
#11 Runtime Error (-6) Detail 1ms 452.0 KiB
#12 Accepted Detail 1ms 320.0 KiB
#13 Accepted Detail 1ms 384.0 KiB
#14 Accepted Detail 1ms 384.0 KiB
#15 Accepted Detail 2ms 384.0 KiB
#16 Runtime Error (-6) Detail 2ms 512.0 KiB
#17 Wrong Answer Detail 37ms 4.305 MiB
#18 Wrong Answer Detail 1ms 324.0 KiB
#19 Wrong Answer Detail 1ms 384.0 KiB
#20 Wrong Answer Detail 1ms 384.0 KiB
#21 Wrong Answer Detail 1ms 452.0 KiB
#22 Accepted Detail 1ms 448.0 KiB

Information

Submit By
Type
Submission
Homework
Project 2
Language
C++
Submit At
2024-10-22 14:59:12
Judged At
2024-10-22 14:59:12
Judged By
Score
100
Total Time
188ms
Peak Memory
8.336 MiB