結果

問題 No.647 明太子
ユーザー %20%20
提出日時 2018-02-09 22:38:05
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,793 ms / 4,500 ms
コード長 164 bytes
コンパイル時間 33 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 8,212 KB
最終ジャッジ日時 2023-09-09 09:23:32
合計ジャッジ時間 6,070 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,680 KB
testcase_01 AC 2 ms
4,716 KB
testcase_02 AC 3 ms
4,676 KB
testcase_03 AC 2 ms
4,740 KB
testcase_04 AC 3 ms
4,764 KB
testcase_05 AC 3 ms
4,696 KB
testcase_06 AC 3 ms
4,664 KB
testcase_07 AC 3 ms
4,624 KB
testcase_08 AC 3 ms
4,716 KB
testcase_09 AC 19 ms
4,908 KB
testcase_10 AC 35 ms
4,796 KB
testcase_11 AC 10 ms
4,664 KB
testcase_12 AC 28 ms
4,748 KB
testcase_13 AC 62 ms
5,100 KB
testcase_14 AC 653 ms
7,660 KB
testcase_15 AC 91 ms
5,260 KB
testcase_16 AC 26 ms
4,828 KB
testcase_17 AC 817 ms
8,048 KB
testcase_18 AC 892 ms
7,904 KB
testcase_19 AC 235 ms
7,620 KB
testcase_20 AC 249 ms
7,136 KB
testcase_21 AC 91 ms
5,644 KB
testcase_22 AC 1,793 ms
8,212 KB
testcase_23 AC 4 ms
4,632 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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