Submission #866205
Source Code Expand
import math def cuboid(dim): [A, B, C] = dim try1 = abs(math.floor(A/2)*B*C - math.ceil(A/2)*B*C) try2 = abs(math.floor(B/2)*A*C - math.ceil(B/2)*A*C) try3 = abs(math.floor(C/2)*A*B - math.ceil(C/2)*A*B) return min(try1, try2, try3) cuboid([int(x) for x in input().split()])
Submission Info
Submission Time | |
---|---|
Task | A - Divide a Cuboid |
User | sozos |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 301 Byte |
Status | WA |
Exec Time | 37 ms |
Memory | 3064 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | WA | 36 ms | 3064 KB |
0_01.txt | WA | 37 ms | 3064 KB |
0_02.txt | WA | 37 ms | 3064 KB |
1_00.txt | WA | 37 ms | 3064 KB |
1_01.txt | WA | 37 ms | 3064 KB |
1_02.txt | WA | 37 ms | 3064 KB |
1_03.txt | WA | 37 ms | 3064 KB |
1_04.txt | WA | 37 ms | 3064 KB |
1_05.txt | WA | 37 ms | 3064 KB |