結果
| 問題 |
No.85 TVザッピング(1)
|
| コンテスト | |
| ユーザー |
nbisco
|
| 提出日時 | 2016-08-30 22:44:43 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 28 ms / 5,000 ms |
| コード長 | 237 bytes |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-04 18:01:37 |
| 合計ジャッジ時間 | 1,543 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
N, M, C = [int(i) for i in input().strip().split(" ")]
if N > M:
N, M = M, N
if N == 1:
if M == 2:
print("YES")
else:
print("NO")
else:
if N*M % 2 == 0:
print("YES")
else:
print("NO")
nbisco