Submission #4049902
Source Code Expand
import java.util.Scanner; public class Main { public static void main(final String[] args) { try(final Scanner scanner = new Scanner(System.in);) { final int first = scanner.nextInt(); final int second = scanner.nextInt(); if (first % 2 == 0 || second % 2 == 0) { System.out.println("Even"); } else { System.out.println("Odd"); } } } }
Submission Info
Submission Time | |
---|---|
Task | A - Product |
User | motoki1990 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 442 Byte |
Status | AC |
Exec Time | 94 ms |
Memory | 23892 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 | 93 ms | 21076 KB |
0_001.txt | AC | 94 ms | 22612 KB |
1_002.txt | AC | 94 ms | 19156 KB |
1_003.txt | AC | 93 ms | 23892 KB |
1_004.txt | AC | 94 ms | 18900 KB |
1_005.txt | AC | 94 ms | 20180 KB |
1_006.txt | AC | 92 ms | 19796 KB |