結果

問題 No.135 とりあえず1次元の問題
ユーザー mmmpppmmmppp
提出日時 2017-02-23 17:26:05
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 70 bytes
コンパイル時間 58 ms
コンパイル使用メモリ 11,352 KB
実行使用メモリ 25,812 KB
最終ジャッジ日時 2023-09-02 00:51:02
合計ジャッジ時間 3,483 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 161 ms
25,812 KB
testcase_01 AC 77 ms
15,260 KB
testcase_02 AC 77 ms
15,032 KB
testcase_03 WA -
testcase_04 AC 74 ms
15,272 KB
testcase_05 AC 76 ms
15,088 KB
testcase_06 AC 75 ms
15,228 KB
testcase_07 AC 76 ms
15,256 KB
testcase_08 AC 77 ms
15,252 KB
testcase_09 AC 78 ms
15,056 KB
testcase_10 AC 78 ms
15,316 KB
testcase_11 AC 77 ms
15,324 KB
testcase_12 AC 76 ms
15,236 KB
testcase_13 AC 77 ms
15,328 KB
testcase_14 AC 76 ms
15,056 KB
testcase_15 AC 77 ms
15,192 KB
testcase_16 AC 76 ms
15,256 KB
testcase_17 AC 76 ms
15,136 KB
testcase_18 AC 77 ms
15,152 KB
testcase_19 AC 79 ms
15,148 KB
testcase_20 AC 78 ms
15,048 KB
testcase_21 AC 124 ms
22,876 KB
testcase_22 AC 159 ms
25,796 KB
evil01.txt AC 153 ms
25,668 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;p gets.split.map(&:to_i).uniq.sort.each_cons(2).map{|a,n|n-a}.min
0