Submission #19679164
Source Code Expand
function Main(input) {
const i = input.split('\n');
const [a, b] = i[0].split(' ');
(parseInt(a) * parseInt(b)) % 2 === 0
? console.log('Even')
: console.log('Odd');
}
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));
Submission Info
| Submission Time | |
|---|---|
| Task | A - Product |
| User | tk3fftk |
| Language | JavaScript (Node.js 12.16.1) |
| Score | 100 |
| Code Size | 250 Byte |
| Status | AC |
| Exec Time | 60 ms |
| Memory | 29524 KiB |
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 | 60 ms | 29524 KiB |
| 0_001.txt | AC | 56 ms | 29400 KiB |
| 1_002.txt | AC | 52 ms | 29440 KiB |
| 1_003.txt | AC | 56 ms | 29412 KiB |
| 1_004.txt | AC | 49 ms | 29388 KiB |
| 1_005.txt | AC | 52 ms | 29412 KiB |
| 1_006.txt | AC | 49 ms | 29432 KiB |