結果

問題 No.706 多眼生物の調査
ユーザー hogehogehogehoge
提出日時 2020-12-27 11:14:47
言語 Perl
(5.38.2)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 6,676 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2024-04-08 14:46:00
合計ジャッジ時間 625 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

use strict;
<>;
my %d = ();
while (<>) {
    chomp;
    $d{length($_) - 2}++;
}
my @l = sort({$d{$b} <=> $d{$a} || $b <=> $a} keys(%d));
print($l[0], "\n");
0