結果

問題 No.2415 偶数判定!Nafmoくん
ユーザー iseeisee
提出日時 2023-08-12 14:31:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 251 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 82,272 KB
実行使用メモリ 53,624 KB
最終ジャッジ日時 2024-04-30 06:22:25
合計ジャッジ時間 2,182 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,352 KB
testcase_01 AC 31 ms
51,876 KB
testcase_02 AC 34 ms
53,144 KB
testcase_03 AC 32 ms
52,652 KB
testcase_04 AC 31 ms
52,732 KB
testcase_05 AC 31 ms
52,960 KB
testcase_06 AC 33 ms
52,828 KB
testcase_07 AC 32 ms
52,312 KB
testcase_08 AC 31 ms
51,820 KB
testcase_09 AC 34 ms
52,676 KB
testcase_10 AC 31 ms
51,756 KB
testcase_11 AC 30 ms
53,624 KB
testcase_12 AC 30 ms
52,804 KB
testcase_13 AC 31 ms
52,548 KB
testcase_14 AC 30 ms
52,680 KB
testcase_15 AC 31 ms
52,596 KB
testcase_16 AC 32 ms
52,188 KB
testcase_17 AC 30 ms
52,620 KB
testcase_18 AC 30 ms
53,012 KB
testcase_19 AC 30 ms
53,560 KB
testcase_20 AC 30 ms
52,532 KB
testcase_21 AC 30 ms
52,616 KB
testcase_22 AC 31 ms
52,804 KB
testcase_23 AC 34 ms
53,004 KB
testcase_24 AC 35 ms
52,676 KB
testcase_25 AC 34 ms
52,556 KB
testcase_26 AC 32 ms
51,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

def main():
    # 入力
    A = input()[-1]
    B = input()[-1]
    # 計算・出力
    ans = A == '0' or B == '0'
    print('Even' if ans else 'Odd')

if __name__ == "__main__":
    main()
0