結果
問題 |
No.85 TVザッピング(1)
|
ユーザー |
|
提出日時 | 2022-10-14 18:31:36 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 5,000 ms |
コード長 | 296 bytes |
コンパイル時間 | 429 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-06-26 12:44:27 |
合計ジャッジ時間 | 2,510 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
#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")