結果

問題 No.490 yukiソート
ユーザー tailstails
提出日時 2017-03-11 00:38:23
言語 Perl
(5.38.2)
結果
AC  
実行時間 13 ms / 2,000 ms
コード長 71 bytes
コンパイル時間 366 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 6,012 KB
最終ジャッジ日時 2023-09-06 16:11:02
合計ジャッジ時間 2,255 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
5,124 KB
testcase_01 AC 6 ms
5,240 KB
testcase_02 AC 6 ms
5,300 KB
testcase_03 AC 7 ms
5,220 KB
testcase_04 AC 8 ms
5,188 KB
testcase_05 AC 8 ms
5,204 KB
testcase_06 AC 7 ms
5,284 KB
testcase_07 AC 7 ms
5,236 KB
testcase_08 AC 7 ms
5,364 KB
testcase_09 AC 7 ms
5,188 KB
testcase_10 AC 7 ms
5,088 KB
testcase_11 AC 7 ms
5,368 KB
testcase_12 AC 7 ms
5,224 KB
testcase_13 AC 7 ms
5,152 KB
testcase_14 AC 12 ms
5,944 KB
testcase_15 AC 13 ms
5,952 KB
testcase_16 AC 12 ms
5,796 KB
testcase_17 AC 13 ms
5,776 KB
testcase_18 AC 13 ms
5,844 KB
testcase_19 AC 13 ms
5,960 KB
testcase_20 AC 13 ms
5,948 KB
testcase_21 AC 13 ms
5,908 KB
testcase_22 AC 13 ms
6,012 KB
testcase_23 AC 13 ms
5,744 KB
testcase_24 AC 7 ms
5,172 KB
testcase_25 AC 6 ms
5,084 KB
testcase_26 AC 6 ms
5,064 KB
testcase_27 AC 6 ms
5,304 KB
testcase_28 AC 7 ms
5,120 KB
testcase_29 AC 6 ms
5,020 KB
testcase_30 AC 7 ms
5,160 KB
testcase_31 AC 6 ms
5,124 KB
testcase_32 AC 6 ms
5,044 KB
testcase_33 AC 6 ms
5,128 KB
testcase_34 AC 6 ms
5,088 KB
testcase_35 AC 6 ms
5,020 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;@b=sort{$a-$b}@a=glob<>;@b[-2,-1]=@b[-1,-2]if$b[-1]-$a[-1];print"@b"
0