結果

問題 No.85 TVザッピング(1)
ユーザー aka_satana_haaka_satana_ha
提出日時 2017-12-05 17:11:53
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2023-08-19 03:30:11
合計ジャッジ時間 1,915 ms
ジャッジサーバーID
(参考情報)
judge9 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
7,828 KB
testcase_01 AC 12 ms
7,808 KB
testcase_02 AC 13 ms
7,808 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 13 ms
7,760 KB
testcase_11 AC 13 ms
7,740 KB
testcase_12 AC 13 ms
7,780 KB
testcase_13 AC 13 ms
7,884 KB
testcase_14 WA -
testcase_15 AC 13 ms
7,892 KB
testcase_16 AC 13 ms
7,924 KB
testcase_17 AC 13 ms
7,740 KB
testcase_18 AC 12 ms
7,904 KB
testcase_19 AC 13 ms
7,924 KB
testcase_20 AC 13 ms
7,848 KB
testcase_21 AC 13 ms
7,724 KB
testcase_22 AC 15 ms
7,916 KB
testcase_23 AC 13 ms
7,844 KB
testcase_24 AC 12 ms
7,880 KB
testcase_25 AC 13 ms
7,884 KB
testcase_26 AC 13 ms
7,804 KB
testcase_27 AC 13 ms
7,832 KB
testcase_28 AC 13 ms
7,876 KB
testcase_29 AC 13 ms
7,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M,C=[int(i) for i in input().split()]

if N==1 or M==1:
    print('NO')
elif N%2==0 or N%2==0:
    print('YES')
else:   #N%2==1 and N%2==1
    print('NO')
0