Submission #3224147
Source Code Expand
import java.util.Scanner; public class Main { public static void main( String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); boolean ans = true; if (a % 2 == 0) { ans = false; } if (b % 2 == 0) { ans = false; } if (ans) { System.out.println("Odd"); } else { System.out.println("Even"); } } }
Submission Info
Submission Time | |
---|---|
Task | A - Product |
User | lilaxuma |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 402 Byte |
Status | AC |
Exec Time | 94 ms |
Memory | 21076 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_000.txt, 0_001.txt |
All | 0_000.txt, 0_001.txt, 1_002.txt, 1_003.txt, 1_004.txt, 1_005.txt, 1_006.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_000.txt | AC | 90 ms | 18640 KB |
0_001.txt | AC | 92 ms | 19924 KB |
1_002.txt | AC | 93 ms | 18644 KB |
1_003.txt | AC | 92 ms | 18640 KB |
1_004.txt | AC | 94 ms | 21076 KB |
1_005.txt | AC | 92 ms | 18640 KB |
1_006.txt | AC | 91 ms | 19924 KB |