結果

問題 No.240 ナイト散歩
ユーザー mmmpppmmmppp
提出日時 2017-03-02 16:50:06
言語 Ruby
(3.4.1)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2024-06-13 01:25:19
合計ジャッジ時間 3,710 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 19 WA * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
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