結果
| 問題 | No.85 TVザッピング(1) |
| コンテスト | |
| ユーザー |
tnoda_
|
| 提出日時 | 2015-08-08 15:26:59 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 59 ms / 5,000 ms |
| + 268µs | |
| コード長 | 154 bytes |
| 記録 | |
| コンパイル時間 | 68 ms |
| コンパイル使用メモリ | 80,768 KB |
| 実行使用メモリ | 80,896 KB |
| 最終ジャッジ日時 | 2026-07-17 18:42:06 |
| 合計ジャッジ時間 | 3,274 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
N, M, C = map(int, raw_input().strip().split())
if N == 1 and M > 2 or M == 1 and N > 2 or (N % 2) * (M % 2) > 0:
print('NO')
quit()
print('YES')
tnoda_