結果
問題 |
No.85 TVザッピング(1)
|
ユーザー |
![]() |
提出日時 | 2014-12-05 01:34:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 190 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-11 15:41:46 |
合計ジャッジ時間 | 2,075 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 WA * 1 |
ソースコード
(N, M, C) = map(int, input().split()) travlable = False if N == 1: if M==2 or (M==3 and C==2): travlable = True elif M == 1: if N==2 or (N==3 and C==2): travlable = True elif M%2==0 or N%2==0: travlable = True if travlable: print("YES") else: print("NO")