結果

問題 No.318 学学学学学
ユーザー tails
提出日時 2015-12-11 19:12:00
言語 Perl
(5.40.0)
結果
TLE  
実行時間 -
コード長 102 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 31,520 KB
最終ジャッジ日時 2024-09-15 08:16:27
合計ジャッジ時間 4,759 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 3
other AC * 6 TLE * 1 -- * 19
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::j" used only once: possible typo at Main.pl line 1.
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

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