Submission #864881


Source Code Expand

Copy
def f(a, b, c):
  a1 = a / 2
  a2 = a - a1
  return b * c * abs(a1 - a2)

def main():
  a, b, c = [int(s) for s in raw_input().split()]
  print min(f(a, b, c), f(b, a, c), f(c, a, b))

if __name__ == '__main__':
  main()

Submission Info

Submission Time
Task A - Divide a Cuboid
User dreamoon
Language Python2 (2.7.6)
Score 200
Code Size 230 Byte
Status
Exec Time 26 ms
Memory 2572 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 0_00.txt, 0_01.txt, 0_02.txt
All 200 / 200 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 26 ms 2572 KB
0_01.txt 24 ms 2568 KB
0_02.txt 24 ms 2568 KB
1_00.txt 24 ms 2568 KB
1_01.txt 24 ms 2568 KB
1_02.txt 24 ms 2568 KB
1_03.txt 24 ms 2568 KB
1_04.txt 24 ms 2568 KB
1_05.txt 24 ms 2568 KB