結果

問題 No.240 ナイト散歩
ユーザー mmmpppmmmppp
提出日時 2017-03-02 16:50:06
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 62 ms
コンパイル使用メモリ 11,524 KB
実行使用メモリ 15,348 KB
最終ジャッジ日時 2023-09-03 20:39:59
合計ジャッジ時間 4,331 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,012 KB
testcase_01 AC 82 ms
15,224 KB
testcase_02 WA -
testcase_03 AC 83 ms
15,128 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 82 ms
15,240 KB
testcase_07 WA -
testcase_08 AC 83 ms
15,068 KB
testcase_09 AC 84 ms
15,232 KB
testcase_10 AC 83 ms
15,252 KB
testcase_11 AC 83 ms
15,244 KB
testcase_12 AC 83 ms
15,188 KB
testcase_13 AC 84 ms
15,180 KB
testcase_14 AC 82 ms
15,244 KB
testcase_15 AC 82 ms
15,180 KB
testcase_16 AC 82 ms
15,084 KB
testcase_17 AC 82 ms
15,064 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 82 ms
15,224 KB
testcase_29 AC 81 ms
15,060 KB
testcase_30 AC 83 ms
15,180 KB
testcase_31 AC 83 ms
15,020 KB
testcase_32 AC 82 ms
15,112 KB
testcase_33 AC 83 ms
15,076 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

puts [[0, 0], [-2, -1], [-2, 1], [-1, -2], [-1, 2], [1, -2], [1, 2], [2, -1], [2, 1]].repeated_combination(3).include?(gets.split.map(&:to_i))?:YES:'NO'
0