結果

問題 No.135 とりあえず1次元の問題
ユーザー %20%20
提出日時 2017-03-01 16:52:05
言語 Perl
(5.38.2)
結果
AC  
実行時間 394 ms / 5,000 ms
コード長 95 bytes
コンパイル時間 538 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 32,056 KB
最終ジャッジ日時 2023-09-03 15:17:43
合計ジャッジ時間 3,640 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 313 ms
32,040 KB
testcase_01 AC 6 ms
5,160 KB
testcase_02 AC 6 ms
4,960 KB
testcase_03 AC 6 ms
5,048 KB
testcase_04 AC 6 ms
5,212 KB
testcase_05 AC 6 ms
5,240 KB
testcase_06 AC 6 ms
5,220 KB
testcase_07 AC 6 ms
5,064 KB
testcase_08 AC 6 ms
5,036 KB
testcase_09 AC 6 ms
5,044 KB
testcase_10 AC 6 ms
5,160 KB
testcase_11 AC 6 ms
5,124 KB
testcase_12 AC 7 ms
5,268 KB
testcase_13 AC 6 ms
5,048 KB
testcase_14 AC 8 ms
5,324 KB
testcase_15 AC 6 ms
5,200 KB
testcase_16 AC 9 ms
5,164 KB
testcase_17 AC 8 ms
5,168 KB
testcase_18 AC 6 ms
5,096 KB
testcase_19 AC 8 ms
5,312 KB
testcase_20 AC 8 ms
5,200 KB
testcase_21 AC 220 ms
31,500 KB
testcase_22 AC 394 ms
32,056 KB
evil01.txt AC 337 ms
32,004 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$%=1e9;$N=<>;
@_=sort{$a-$b}glob<>;
$%-=$-=$%-($_[$_+1]-$_[$_]||$%)for 0..$N-2;
print$%-1e9&&$%
0