結果

問題 No.318 学学学学学
ユーザー tailstails
提出日時 2015-12-11 19:22:52
言語 Perl
(5.38.2)
結果
TLE  
実行時間 -
コード長 128 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 5,156 KB
実行使用メモリ 36,352 KB
最終ジャッジ日時 2023-10-13 11:17:01
合計ジャッジ時間 7,060 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,316 KB
testcase_01 AC 35 ms
9,400 KB
testcase_02 AC 42 ms
10,504 KB
testcase_03 AC 28 ms
8,544 KB
testcase_04 AC 36 ms
9,784 KB
testcase_05 AC 240 ms
32,112 KB
testcase_06 AC 289 ms
29,008 KB
testcase_07 AC 201 ms
26,584 KB
testcase_08 AC 204 ms
24,144 KB
testcase_09 AC 147 ms
21,456 KB
testcase_10 AC 115 ms
18,952 KB
testcase_11 AC 227 ms
32,104 KB
testcase_12 AC 172 ms
25,152 KB
testcase_13 AC 151 ms
23,328 KB
testcase_14 AC 133 ms
21,448 KB
testcase_15 AC 119 ms
20,188 KB
testcase_16 AC 107 ms
18,696 KB
testcase_17 TLE -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Name "main::j" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;$l{$_}=$i++for@a=<>=~/\d+/g;map{$v=$_ if$v<$_;$h{$_}=print"$v ";delete$h{$_},$v-$_ or($v)=sort{$b-$a}keys%h if$j++==$l{$_}}@a
0