結果

問題 No.406 鴨等間隔の法則
ユーザー hogeover30hogeover30
提出日時 2017-02-06 05:22:19
言語 Ruby
(3.3.0)
結果
MLE  
実行時間 -
コード長 77 bytes
コンパイル時間 323 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 820,908 KB
最終ジャッジ日時 2024-04-24 21:58:07
合計ジャッジ時間 8,189 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 409 ms
182,776 KB
testcase_01 AC 94 ms
12,032 KB
testcase_02 AC 94 ms
12,160 KB
testcase_03 AC 92 ms
12,160 KB
testcase_04 MLE -
testcase_05 AC 341 ms
156,800 KB
testcase_06 AC 362 ms
153,728 KB
testcase_07 AC 368 ms
170,332 KB
testcase_08 MLE -
testcase_09 MLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;a,b,*x=gets.split.map(&:to_i).sort;puts x.map{b+=a+=b-a}==x|[]?:YES: :NO
0