結果

問題 No.120 傾向と対策:門松列(その1)
ユーザー kotatsugamekotatsugame
提出日時 2018-04-12 15:54:36
言語 Perl
(5.38.2)
結果
AC  
実行時間 316 ms / 5,000 ms
コード長 128 bytes
コンパイル時間 225 ms
コンパイル使用メモリ 5,388 KB
実行使用メモリ 5,292 KB
最終ジャッジ日時 2023-09-09 04:18:28
合計ジャッジ時間 2,080 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 232 ms
5,156 KB
testcase_01 AC 316 ms
5,292 KB
testcase_02 AC 142 ms
5,260 KB
testcase_03 AC 314 ms
5,260 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;while(<>){%t=$s=0;@@=sort{$b-$a}map$t{$_},grep!$t{$_}++,glob<>;$s++,map($@[$_]--,0..2),@@=sort{$b-$a}@@while$@[2];print$s,$/}
0