結果

問題 No.85 TVザッピング(1)
ユーザー Akijin_007Akijin_007
提出日時 2022-10-14 18:31:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 296 bytes
コンパイル時間 266 ms
コンパイル使用メモリ 86,856 KB
実行使用メモリ 71,248 KB
最終ジャッジ日時 2023-09-08 19:49:11
合計ジャッジ時間 3,655 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,064 KB
testcase_01 AC 72 ms
71,004 KB
testcase_02 AC 72 ms
70,784 KB
testcase_03 AC 71 ms
71,248 KB
testcase_04 AC 73 ms
71,248 KB
testcase_05 AC 73 ms
71,168 KB
testcase_06 AC 72 ms
70,872 KB
testcase_07 AC 73 ms
71,064 KB
testcase_08 AC 72 ms
70,948 KB
testcase_09 AC 73 ms
70,900 KB
testcase_10 AC 72 ms
70,732 KB
testcase_11 AC 72 ms
70,996 KB
testcase_12 AC 70 ms
70,996 KB
testcase_13 AC 72 ms
71,164 KB
testcase_14 AC 71 ms
71,180 KB
testcase_15 AC 70 ms
71,000 KB
testcase_16 AC 69 ms
71,072 KB
testcase_17 AC 69 ms
71,248 KB
testcase_18 AC 70 ms
71,064 KB
testcase_19 AC 71 ms
71,172 KB
testcase_20 AC 71 ms
71,108 KB
testcase_21 AC 71 ms
71,068 KB
testcase_22 AC 67 ms
71,172 KB
testcase_23 AC 71 ms
71,188 KB
testcase_24 AC 71 ms
70,948 KB
testcase_25 AC 69 ms
70,992 KB
testcase_26 AC 68 ms
71,028 KB
testcase_27 AC 68 ms
71,064 KB
testcase_28 AC 70 ms
71,064 KB
testcase_29 AC 70 ms
71,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#int(input())
#map(int, input().split())
#list(map(int, input().split()))

N, M, C = map(int, input().split())

if min(N, M) == 1:
    if max(N, M) == 2:
        print("YES")
    else:
        print("NO")
else:
    if (N % 2) * (M % 2) == 1:
        print("NO")
    else:
        print("YES")



0