結果

問題 No.366 ロボットソート
ユーザー tailstails
提出日時 2020-12-11 17:50:02
言語 Perl
(5.38.2)
結果
AC  
実行時間 431 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 686 ms
コンパイル使用メモリ 6,084 KB
実行使用メモリ 14,764 KB
最終ジャッジ日時 2023-10-20 01:36:21
合計ジャッジ時間 3,141 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
6,248 KB
testcase_01 AC 7 ms
6,252 KB
testcase_02 AC 7 ms
6,248 KB
testcase_03 AC 7 ms
6,248 KB
testcase_04 AC 7 ms
6,248 KB
testcase_05 AC 8 ms
6,248 KB
testcase_06 AC 7 ms
6,248 KB
testcase_07 AC 7 ms
6,248 KB
testcase_08 AC 7 ms
6,248 KB
testcase_09 AC 8 ms
6,248 KB
testcase_10 AC 11 ms
6,348 KB
testcase_11 AC 159 ms
11,584 KB
testcase_12 AC 226 ms
13,836 KB
testcase_13 AC 26 ms
7,112 KB
testcase_14 AC 22 ms
7,040 KB
testcase_15 AC 14 ms
6,616 KB
testcase_16 AC 42 ms
7,600 KB
testcase_17 AC 68 ms
8,624 KB
testcase_18 AC 211 ms
13,756 KB
testcase_19 AC 74 ms
8,692 KB
testcase_20 AC 8 ms
6,248 KB
testcase_21 AC 232 ms
14,764 KB
testcase_22 AC 431 ms
14,760 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Smartmatch is deprecated at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$a[$l=$_-$']<$a[$_]or@a[$l,$_]=@a[$_,$l],++$%for($'..$`-<>=~$")x(@a=glob<>);print@a~~[sort{$a-$b}@a]?$%:-1
0