結果

問題 No.318 学学学学学
ユーザー tails
提出日時 2015-12-11 19:22:52
言語 Perl
(5.40.0)
結果
TLE  
実行時間 -
コード長 128 bytes
コンパイル時間 320 ms
コンパイル使用メモリ 7,072 KB
実行使用メモリ 39,380 KB
最終ジャッジ日時 2024-09-15 08:17:08
合計ジャッジ時間 6,711 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 3
other AC * 17 TLE * 1 -- * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
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