結果

問題 No.2415 偶数判定!Nafmoくん
ユーザー ngng628ngng628
提出日時 2023-09-11 00:37:59
言語 Crystal
(1.11.2)
結果
WA  
実行時間 -
コード長 107 bytes
コンパイル時間 17,271 ms
コンパイル使用メモリ 258,448 KB
実行使用メモリ 4,628 KB
最終ジャッジ日時 2023-09-11 00:38:29
合計ジャッジ時間 18,467 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 2 ms
4,552 KB
testcase_02 AC 2 ms
4,604 KB
testcase_03 AC 3 ms
4,600 KB
testcase_04 AC 3 ms
4,616 KB
testcase_05 WA -
testcase_06 AC 3 ms
4,568 KB
testcase_07 WA -
testcase_08 AC 3 ms
4,612 KB
testcase_09 WA -
testcase_10 AC 3 ms
4,520 KB
testcase_11 AC 3 ms
4,468 KB
testcase_12 AC 3 ms
4,516 KB
testcase_13 WA -
testcase_14 AC 3 ms
4,440 KB
testcase_15 AC 3 ms
4,552 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 2 ms
4,568 KB
testcase_19 WA -
testcase_20 AC 2 ms
4,524 KB
testcase_21 AC 3 ms
4,544 KB
testcase_22 WA -
testcase_23 AC 2 ms
4,540 KB
testcase_24 AC 2 ms
4,612 KB
testcase_25 AC 3 ms
4,628 KB
testcase_26 AC 2 ms
4,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

require "big"
a = read_line.chomp[-1].to_i
b = read_line.chomp[-1].to_i
puts (a | b) == 0 ? "Even" : "Odd"
0