結果

問題 No.433 ICPC国内予選の選抜ルールがこんな感じだったらうれしい
ユーザー tailstails
提出日時 2016-10-15 01:29:58
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,237 ms / 4,000 ms
コード長 159 bytes
コンパイル時間 36 ms
コンパイル使用メモリ 6,016 KB
実行使用メモリ 51,324 KB
最終ジャッジ日時 2024-05-02 01:14:37
合計ジャッジ時間 33,676 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 867 ms
49,348 KB
testcase_01 AC 971 ms
46,212 KB
testcase_02 AC 915 ms
40,288 KB
testcase_03 AC 1,099 ms
44,900 KB
testcase_04 AC 937 ms
45,052 KB
testcase_05 AC 937 ms
42,860 KB
testcase_06 AC 1,237 ms
51,324 KB
testcase_07 AC 1,104 ms
41,940 KB
testcase_08 AC 977 ms
40,656 KB
testcase_09 AC 954 ms
42,020 KB
testcase_10 AC 886 ms
43,592 KB
testcase_11 AC 905 ms
46,372 KB
testcase_12 AC 883 ms
45,000 KB
testcase_13 AC 835 ms
39,264 KB
testcase_14 AC 859 ms
42,040 KB
testcase_15 AC 808 ms
38,808 KB
testcase_16 AC 867 ms
48,084 KB
testcase_17 AC 900 ms
47,472 KB
testcase_18 AC 916 ms
48,240 KB
testcase_19 AC 849 ms
39,140 KB
testcase_20 AC 859 ms
40,832 KB
testcase_21 AC 869 ms
40,328 KB
testcase_22 AC 861 ms
45,448 KB
testcase_23 AC 895 ms
42,492 KB
testcase_24 AC 869 ms
39,108 KB
testcase_25 AC 853 ms
44,368 KB
testcase_26 AC 834 ms
41,096 KB
testcase_27 AC 834 ms
44,504 KB
testcase_28 AC 807 ms
39,076 KB
testcase_29 AC 845 ms
45,892 KB
testcase_30 AC 8 ms
6,016 KB
testcase_31 AC 7 ms
5,888 KB
testcase_32 AC 893 ms
47,168 KB
testcase_33 AC 888 ms
48,252 KB
testcase_34 AC 876 ms
40,556 KB
testcase_35 AC 7 ms
5,888 KB
testcase_36 AC 7 ms
5,888 KB
testcase_37 AC 7 ms
5,888 KB
testcase_38 AC 7 ms
5,888 KB
testcase_39 AC 14 ms
6,400 KB
testcase_40 AC 13 ms
6,400 KB
testcase_41 AC 76 ms
9,472 KB
testcase_42 AC 76 ms
9,472 KB
testcase_43 AC 75 ms
9,472 KB
testcase_44 AC 79 ms
9,472 KB
testcase_45 AC 15 ms
6,400 KB
testcase_46 AC 90 ms
11,520 KB
testcase_47 AC 90 ms
11,392 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1.
Name "main::i" used only once: possible typo at Main.pl line 1.
Name "main::v" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($n,$k)=glob<>;print map{/\w+$/g,$/}(sort map s/u(\w+)/sprintf"%8d",++$v[$1]/er,sort map{($s,$p,$u)=glob;sprintf"%8du%08d%8d %d",1e5-$s,$u,$p,$i++}<>)[0..$k-1]
0