結果

問題 No.85 TVザッピング(1)
ユーザー 👑 rin204rin204
提出日時 2022-01-20 10:26:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 184 bytes
コンパイル時間 329 ms
コンパイル使用メモリ 86,912 KB
実行使用メモリ 71,352 KB
最終ジャッジ日時 2023-08-15 08:36:53
合計ジャッジ時間 4,619 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,048 KB
testcase_01 AC 72 ms
71,224 KB
testcase_02 AC 72 ms
71,116 KB
testcase_03 AC 72 ms
71,000 KB
testcase_04 AC 74 ms
71,080 KB
testcase_05 AC 74 ms
71,104 KB
testcase_06 AC 74 ms
71,112 KB
testcase_07 AC 72 ms
71,168 KB
testcase_08 AC 72 ms
71,076 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 72 ms
70,988 KB
testcase_20 AC 74 ms
71,080 KB
testcase_21 AC 71 ms
71,216 KB
testcase_22 AC 73 ms
70,860 KB
testcase_23 AC 73 ms
71,220 KB
testcase_24 AC 73 ms
71,048 KB
testcase_25 AC 72 ms
71,004 KB
testcase_26 AC 73 ms
71,008 KB
testcase_27 AC 74 ms
71,164 KB
testcase_28 AC 73 ms
70,848 KB
testcase_29 AC 71 ms
71,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m, c = map(int, input().split())
if n == 1 or m == 1:
    if n * m == 2:
        print("YES")
    else:
        print("NO")
if n * m % 2 == 1:
    print("NO")
else:
    print("YES")
0