結果
問題 | No.85 TVザッピング(1) |
ユーザー |
|
提出日時 | 2023-07-15 20:03:45 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 5,000 ms |
コード長 | 142 bytes |
コンパイル時間 | 239 ms |
コンパイル使用メモリ | 82,100 KB |
実行使用メモリ | 53,536 KB |
最終ジャッジ日時 | 2024-09-17 04:46:44 |
合計ジャッジ時間 | 2,235 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
N, M, C = map(int, input().split())if min(N, M) == 1: print("YES" if max(N, M) == 2 else "NO")else: print("YES" if N * M % 2 == 0 else "NO")