結果

問題 No.490 yukiソート
ユーザー %20%20
提出日時 2017-03-11 02:26:50
言語 Perl
(5.38.0)
結果
AC  
実行時間 13 ms / 2,000 ms
コード長 69 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 5,244 KB
実行使用メモリ 6,004 KB
最終ジャッジ日時 2023-09-06 17:28:35
合計ジャッジ時間 1,788 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,296 KB
testcase_01 AC 6 ms
5,224 KB
testcase_02 AC 6 ms
5,068 KB
testcase_03 AC 6 ms
5,116 KB
testcase_04 AC 7 ms
5,128 KB
testcase_05 AC 7 ms
5,340 KB
testcase_06 AC 7 ms
5,304 KB
testcase_07 AC 6 ms
5,200 KB
testcase_08 AC 7 ms
5,128 KB
testcase_09 AC 6 ms
5,164 KB
testcase_10 AC 7 ms
5,272 KB
testcase_11 AC 7 ms
5,180 KB
testcase_12 AC 7 ms
5,128 KB
testcase_13 AC 6 ms
5,304 KB
testcase_14 AC 12 ms
5,804 KB
testcase_15 AC 12 ms
5,852 KB
testcase_16 AC 12 ms
5,984 KB
testcase_17 AC 12 ms
6,004 KB
testcase_18 AC 12 ms
5,820 KB
testcase_19 AC 12 ms
5,776 KB
testcase_20 AC 13 ms
5,772 KB
testcase_21 AC 12 ms
5,772 KB
testcase_22 AC 12 ms
5,824 KB
testcase_23 AC 12 ms
5,972 KB
testcase_24 AC 6 ms
5,064 KB
testcase_25 AC 6 ms
5,240 KB
testcase_26 AC 5 ms
5,140 KB
testcase_27 AC 5 ms
5,192 KB
testcase_28 AC 6 ms
5,276 KB
testcase_29 AC 5 ms
5,060 KB
testcase_30 AC 5 ms
5,208 KB
testcase_31 AC 6 ms
5,208 KB
testcase_32 AC 6 ms
5,280 KB
testcase_33 AC 6 ms
5,268 KB
testcase_34 AC 5 ms
5,220 KB
testcase_35 AC 6 ms
5,284 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;@b=sort{$a-$b}@a=glob<>;print$b[-1]-pop@a?"@b[0..@b-3,-1,-2]":"@b"
0