結果

問題 No.2415 偶数判定!Nafmoくん
ユーザー Fullmoon8507Fullmoon8507
提出日時 2023-10-29 22:34:35
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 267 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 5,284 KB
実行使用メモリ 37,492 KB
最終ジャッジ日時 2023-10-29 22:34:39
合計ジャッジ時間 3,535 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
37,356 KB
testcase_01 AC 65 ms
37,356 KB
testcase_02 AC 65 ms
37,356 KB
testcase_03 AC 67 ms
37,356 KB
testcase_04 AC 68 ms
37,356 KB
testcase_05 AC 68 ms
37,356 KB
testcase_06 AC 65 ms
37,356 KB
testcase_07 AC 64 ms
37,380 KB
testcase_08 AC 65 ms
37,380 KB
testcase_09 AC 66 ms
37,380 KB
testcase_10 WA -
testcase_11 AC 65 ms
37,380 KB
testcase_12 AC 66 ms
37,380 KB
testcase_13 AC 65 ms
37,380 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 66 ms
37,380 KB
testcase_17 AC 67 ms
37,380 KB
testcase_18 WA -
testcase_19 AC 68 ms
37,380 KB
testcase_20 AC 66 ms
37,380 KB
testcase_21 AC 66 ms
37,380 KB
testcase_22 AC 65 ms
37,380 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

var lines = require("fs").readFileSync("/dev/stdin", "utf8").split("\n");
var A = lines[0];
var B = lines[1];

var intA = parseInt(A, 2);
var intB = parseInt(B, 2);

if((intA % 2 === 1) && (intB % 2 === 1)){
    console.log("Odd");
} else {
    console.log("Even");
}
0