結果

問題 No.647 明太子
ユーザー %20%20
提出日時 2018-02-10 01:05:39
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,818 ms / 4,500 ms
コード長 155 bytes
コンパイル時間 455 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 8,892 KB
最終ジャッジ日時 2023-09-09 09:28:43
合計ジャッジ時間 6,469 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,080 KB
testcase_01 AC 6 ms
5,244 KB
testcase_02 AC 6 ms
5,260 KB
testcase_03 AC 6 ms
5,080 KB
testcase_04 AC 6 ms
5,044 KB
testcase_05 AC 6 ms
5,268 KB
testcase_06 AC 6 ms
5,132 KB
testcase_07 AC 7 ms
5,228 KB
testcase_08 AC 7 ms
5,196 KB
testcase_09 AC 26 ms
5,224 KB
testcase_10 AC 42 ms
5,328 KB
testcase_11 AC 15 ms
5,312 KB
testcase_12 AC 36 ms
5,420 KB
testcase_13 AC 69 ms
5,660 KB
testcase_14 AC 690 ms
8,352 KB
testcase_15 AC 102 ms
5,828 KB
testcase_16 AC 33 ms
5,432 KB
testcase_17 AC 861 ms
8,668 KB
testcase_18 AC 926 ms
8,648 KB
testcase_19 AC 261 ms
8,456 KB
testcase_20 AC 279 ms
7,712 KB
testcase_21 AC 103 ms
6,448 KB
testcase_22 AC 1,818 ms
8,892 KB
testcase_23 AC 9 ms
5,244 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@AB=map[glob<>],1..<>;
for(<>){
	($X,$Y)=glob;
	$X<=@$_[0]&&$Y>=@$_[1]&&++$_[$i]for@AB;
	++$i
}
($m)=sort{$b-$a}@_;
$,=$/;
print$m?grep$_[$_]==$m,1..$#_:0
0