結果

問題 No.556 仁義なきサルたち
ユーザー %20%20
提出日時 2018-01-10 22:05:25
言語 Perl
(5.38.2)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 65 ms
コンパイル使用メモリ 5,372 KB
実行使用メモリ 11,796 KB
最終ジャッジ日時 2023-08-25 10:40:05
合計ジャッジ時間 1,825 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,584 KB
testcase_01 AC 4 ms
4,640 KB
testcase_02 AC 3 ms
4,588 KB
testcase_03 AC 3 ms
4,644 KB
testcase_04 AC 2 ms
4,700 KB
testcase_05 AC 3 ms
4,788 KB
testcase_06 AC 4 ms
4,792 KB
testcase_07 AC 4 ms
4,556 KB
testcase_08 AC 5 ms
4,812 KB
testcase_09 AC 8 ms
4,972 KB
testcase_10 AC 10 ms
5,052 KB
testcase_11 AC 12 ms
5,328 KB
testcase_12 AC 12 ms
5,280 KB
testcase_13 AC 25 ms
7,100 KB
testcase_14 AC 39 ms
7,668 KB
testcase_15 AC 48 ms
8,076 KB
testcase_16 AC 61 ms
10,188 KB
testcase_17 AC 78 ms
10,644 KB
testcase_18 AC 107 ms
11,368 KB
testcase_19 AC 99 ms
11,796 KB
testcase_20 AC 97 ms
11,568 KB
testcase_21 AC 98 ms
11,796 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Useless use of a variable in void context at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

@@=1..<>;${s/^/ /;map{0while-$$_+($$_=$$$_//$_)}/( \d+)(.*)/;$2?@{$$a=$b}[$a-$b&&@$a+@$b]=($a,$b)=sort{@$a-@$b||$b-$a}$$1,$$2:print$$_,$/}for<>,@@
0