結果

問題 No.85 TVザッピング(1)
ユーザー gigurururugigurururu
提出日時 2014-12-05 00:24:26
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 61 bytes
コンパイル時間 207 ms
コンパイル使用メモリ 11,228 KB
実行使用メモリ 15,336 KB
最終ジャッジ日時 2023-09-02 08:43:18
合計ジャッジ時間 3,937 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,224 KB
testcase_01 AC 81 ms
15,164 KB
testcase_02 AC 80 ms
15,164 KB
testcase_03 AC 84 ms
15,268 KB
testcase_04 AC 81 ms
15,132 KB
testcase_05 AC 82 ms
15,020 KB
testcase_06 AC 81 ms
15,108 KB
testcase_07 AC 80 ms
15,272 KB
testcase_08 AC 81 ms
15,132 KB
testcase_09 WA -
testcase_10 AC 81 ms
15,308 KB
testcase_11 AC 81 ms
15,104 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 82 ms
15,148 KB
testcase_18 WA -
testcase_19 AC 81 ms
15,020 KB
testcase_20 AC 81 ms
15,280 KB
testcase_21 AC 83 ms
15,280 KB
testcase_22 AC 83 ms
15,064 KB
testcase_23 AC 83 ms
15,084 KB
testcase_24 AC 81 ms
15,304 KB
testcase_25 AC 83 ms
15,132 KB
testcase_26 AC 84 ms
15,156 KB
testcase_27 AC 83 ms
15,256 KB
testcase_28 AC 81 ms
15,076 KB
testcase_29 AC 81 ms
15,232 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n,m=gets.split.map &:to_i
puts n&1>0&&m&1>0||n*m<3?:NO:"YES"
0