結果
| 問題 | No.85 TVザッピング(1) |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-12-04 01:23:06 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 28 ms / 5,000 ms |
| コード長 | 139 bytes |
| 記録 | |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-04-04 12:19:08 |
| 合計ジャッジ時間 | 1,711 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
n,m,c = map(int,input().split())
if n>m: n,m = m,n
ok = 1
if n*m%2: ok = 0
else:
if n==1 and m > 2: ok = 0
print("YES" if ok else "NO")
convexineq