結果

問題 No.647 明太子
ユーザー %20%20
提出日時 2018-02-10 00:48:44
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 207 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 4,704 KB
最終ジャッジ日時 2023-08-27 02:19:57
合計ジャッジ時間 1,365 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 2 ms
4,652 KB
testcase_02 AC 2 ms
4,504 KB
testcase_03 AC 3 ms
4,660 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 21 ms
4,636 KB
testcase_20 AC 17 ms
4,596 KB
testcase_21 AC 10 ms
4,524 KB
testcase_22 AC 25 ms
4,588 KB
testcase_23 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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