結果

問題 No.647 明太子
ユーザー %20%20
提出日時 2018-02-10 00:51:15
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,094 ms / 4,500 ms
コード長 206 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 6,792 KB
最終ジャッジ日時 2023-09-09 09:28:36
合計ジャッジ時間 4,833 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,668 KB
testcase_01 AC 2 ms
4,540 KB
testcase_02 AC 3 ms
4,576 KB
testcase_03 AC 3 ms
4,600 KB
testcase_04 AC 3 ms
4,636 KB
testcase_05 AC 3 ms
4,536 KB
testcase_06 AC 2 ms
4,664 KB
testcase_07 AC 3 ms
4,588 KB
testcase_08 AC 3 ms
4,604 KB
testcase_09 AC 15 ms
4,756 KB
testcase_10 AC 27 ms
4,820 KB
testcase_11 AC 9 ms
4,588 KB
testcase_12 AC 21 ms
4,764 KB
testcase_13 AC 46 ms
4,932 KB
testcase_14 AC 467 ms
6,400 KB
testcase_15 AC 68 ms
4,952 KB
testcase_16 AC 19 ms
4,588 KB
testcase_17 AC 574 ms
6,608 KB
testcase_18 AC 629 ms
6,344 KB
testcase_19 AC 255 ms
6,324 KB
testcase_20 AC 271 ms
6,084 KB
testcase_21 AC 99 ms
5,172 KB
testcase_22 AC 1,094 ms
6,792 KB
testcase_23 AC 4 ms
4,548 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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