結果

問題 No.135 とりあえず1次元の問題
ユーザー cielciel
提出日時 2015-02-13 02:41:05
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 70 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 11,556 KB
実行使用メモリ 26,660 KB
最終ジャッジ日時 2023-09-01 02:55:30
合計ジャッジ時間 3,685 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 86 ms
15,352 KB
testcase_03 WA -
testcase_04 AC 82 ms
15,140 KB
testcase_05 AC 79 ms
15,240 KB
testcase_06 AC 78 ms
15,040 KB
testcase_07 AC 79 ms
15,256 KB
testcase_08 AC 78 ms
15,140 KB
testcase_09 AC 82 ms
15,124 KB
testcase_10 AC 83 ms
15,040 KB
testcase_11 AC 84 ms
15,148 KB
testcase_12 WA -
testcase_13 AC 84 ms
15,344 KB
testcase_14 AC 89 ms
15,080 KB
testcase_15 AC 87 ms
15,340 KB
testcase_16 AC 82 ms
15,260 KB
testcase_17 AC 80 ms
15,292 KB
testcase_18 AC 86 ms
15,040 KB
testcase_19 AC 80 ms
15,080 KB
testcase_20 AC 83 ms
15,296 KB
testcase_21 WA -
testcase_22 AC 176 ms
26,660 KB
evil01.txt AC 169 ms
26,524 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

p$<.read.split.map(&:to_i).sort.uniq.each_cons(2).map{|x,y|y-x}.min||0
0