Submission #866201
Source Code Expand
import java.util.*; public class Main { public static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); if (a%2==0||a%2==0||a%2==0) { System.out.println(0); } else { long ret = Long.MAX_VALUE; ret = Math.min(ret, a*b); ret = Math.min(ret, a*c); ret = Math.min(ret, b*c); System.out.println(ret); } } }
Submission Info
Submission Time | |
---|---|
Task | A - Divide a Cuboid |
User | atkrym |
Language | Java8 (OpenJDK 1.8.0) |
Score | 0 |
Code Size | 581 Byte |
Status | WA |
Exec Time | 196 ms |
Memory | 9552 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 | AC | 196 ms | 9424 KB |
0_01.txt | AC | 196 ms | 9416 KB |
0_02.txt | AC | 196 ms | 9428 KB |
1_00.txt | AC | 196 ms | 9300 KB |
1_01.txt | WA | 193 ms | 9424 KB |
1_02.txt | WA | 192 ms | 9552 KB |
1_03.txt | AC | 192 ms | 9424 KB |
1_04.txt | AC | 196 ms | 9420 KB |
1_05.txt | AC | 196 ms | 9536 KB |