結果

問題 No.647 明太子
ユーザー %20%20
提出日時 2018-02-10 00:50:03
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,039 ms / 4,500 ms
コード長 209 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 6,648 KB
最終ジャッジ日時 2023-09-09 09:28:31
合計ジャッジ時間 4,318 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,508 KB
testcase_01 AC 2 ms
4,548 KB
testcase_02 AC 2 ms
4,676 KB
testcase_03 AC 2 ms
4,532 KB
testcase_04 AC 2 ms
4,620 KB
testcase_05 AC 2 ms
4,572 KB
testcase_06 AC 2 ms
4,660 KB
testcase_07 AC 3 ms
4,520 KB
testcase_08 AC 3 ms
4,744 KB
testcase_09 AC 13 ms
4,708 KB
testcase_10 AC 23 ms
4,672 KB
testcase_11 AC 7 ms
4,552 KB
testcase_12 AC 19 ms
4,844 KB
testcase_13 AC 40 ms
4,820 KB
testcase_14 AC 401 ms
6,312 KB
testcase_15 AC 59 ms
5,000 KB
testcase_16 AC 18 ms
4,728 KB
testcase_17 AC 497 ms
6,560 KB
testcase_18 AC 538 ms
6,620 KB
testcase_19 AC 147 ms
6,252 KB
testcase_20 AC 156 ms
5,952 KB
testcase_21 AC 58 ms
5,188 KB
testcase_22 AC 1,039 ms
6,648 KB
testcase_23 AC 4 ms
4,552 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($A[$i],$B[$i++])=split$",<>for 0..<>-1;
for$i(1..<>){
	($X,$Y)=split$",<>;
	$j=0;
	$X<=$_&&$Y>=$B[$j]&&++$_[$i],$j++for@A
}
$_>$m&&($m=$_)for@_;
if($m){
	$_[$_]==$m&&print$_,$/for 1..$#_
}else{
	print 0,$/
}
0