Submission #1371495


Source Code Expand

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt(),b = scanner.nextInt(),c = scanner.nextInt();
		if(a % 2 == 0 || b % 2 == 0 || c % 2 == 0){
			System.out.println("0");
		}else{
			long ans = 0;
			ans = Math.min(a*c,a*c);
			ans = Math.min(ans, b*c);
			System.out.println(ans);
		}
	}

}

Submission Info

Submission Time
Task A - Divide a Cuboid
User m8618
Language Java7 (OpenJDK 1.7.0)
Score 0
Code Size 420 Byte
Status WA
Exec Time 95 ms
Memory 20948 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
AC × 3
AC × 6
WA × 3
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 95 ms 20948 KB
0_01.txt AC 94 ms 18772 KB
0_02.txt AC 94 ms 19028 KB
1_00.txt AC 94 ms 18900 KB
1_01.txt AC 94 ms 20820 KB
1_02.txt AC 94 ms 20436 KB
1_03.txt WA 94 ms 18772 KB
1_04.txt WA 94 ms 19028 KB
1_05.txt WA 95 ms 19028 KB