結果

問題 No.433 ICPC国内予選の選抜ルールがこんな感じだったらうれしい
ユーザー tails
提出日時 2016-10-15 01:22:57
言語 Perl
(5.40.0)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 52,976 KB
最終ジャッジ日時 2024-11-22 10:15:39
合計ジャッジ時間 36,441 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 WA * 43
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.
Name "main::n" 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/sprintf"%8d",++$v[$']/er,sort map{($s,$p,$u)=glob;sprintf"%8du%8d%8d %d",1e5-$s,$u,$p,$i++}<>)[0..$k-1]
0