Wrong Answer
/in/p2.cpp: In function 'int tree_max(tree_t)': /in/p2.cpp:277:13: warning: unused variable 'left' [-Wunused-variable] int left = 0; ^~~~ /in/p2.cpp:280:13: warning: unused variable 'left' [-Wunused-variable] int left = tree_max(tree_left(tree)); ^~~~ /in/p2.cpp:283:13: warning: unused variable 'right' [-Wunused-variable] int right = 0; ^~~~~ /in/p2.cpp:286:13: warning: unused variable 'right' [-Wunused-variable] int right = tree_max(tree_right(tree)); ^~~~~ /in/p2.cpp:291:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
# | Status | Time Cost | Memory Cost |
---|---|---|---|
#1 | Accepted Detail | 2ms | 448.0 KiB |
#2 | Accepted Detail | 1ms | 448.0 KiB |
#3 | Accepted Detail | 38ms | 4.344 MiB |
#4 | Accepted Detail | 94ms | 8.312 MiB |
#5 | Accepted Detail | 2ms | 384.0 KiB |
#6 | Accepted Detail | 1ms | 384.0 KiB |
#7 | Accepted Detail | 1ms | 384.0 KiB |
#8 | Accepted Detail | 1ms | 448.0 KiB |
#9 | Accepted Detail | 2ms | 384.0 KiB |
#10 | Accepted Detail | 1ms | 384.0 KiB |
#11 | Accepted Detail | 1ms | 384.0 KiB |
#12 | Accepted Detail | 1ms | 388.0 KiB |
#13 | Accepted Detail | 2ms | 452.0 KiB |
#14 | Accepted Detail | 2ms | 388.0 KiB |
#15 | Accepted Detail | 1ms | 384.0 KiB |
#16 | Accepted Detail | 2ms | 448.0 KiB |
#17 | Accepted Detail | 37ms | 4.309 MiB |
#18 | Accepted Detail | 1ms | 392.0 KiB |
#19 | Wrong Answer Detail | 2ms | 320.0 KiB |
#20 | Accepted Detail | 1ms | 384.0 KiB |
#21 | Wrong Answer Detail | 1ms | 392.0 KiB |
#22 | Accepted Detail | 1ms | 452.0 KiB |
Information
- Submit By
- Type
- Submission
- Homework
- Project 2
- Language
- C++
- Submit At
- 2024-10-28 12:23:34
- Judged At
- 2024-10-28 12:23:34
- Judged By
- Score
- 200
- Total Time
- 208ms
- Peak Memory
- 8.312 MiB