結果

問題 No.678 2Dシューティングゲームの必殺ビーム
ユーザー tailstails
提出日時 2018-04-28 00:54:47
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 354 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 5,452 KB
最終ジャッジ日時 2023-09-10 07:37:37
合計ジャッジ時間 1,165 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,104 KB
testcase_01 AC 6 ms
5,328 KB
testcase_02 AC 6 ms
5,236 KB
testcase_03 AC 6 ms
5,152 KB
testcase_04 AC 6 ms
5,228 KB
testcase_05 WA -
testcase_06 AC 6 ms
5,336 KB
testcase_07 AC 7 ms
5,244 KB
testcase_08 WA -
testcase_09 AC 7 ms
5,232 KB
testcase_10 AC 7 ms
5,372 KB
testcase_11 AC 6 ms
5,404 KB
testcase_12 AC 6 ms
5,200 KB
testcase_13 AC 8 ms
5,452 KB
testcase_14 AC 7 ms
5,312 KB
testcase_15 WA -
testcase_16 AC 7 ms
5,232 KB
testcase_17 AC 7 ms
5,324 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($n,$a,$b)=glob<>;
$m[$_]=1for$a+$<..$b+$<;
map{
	($u,$l,$r,$i)=unpack N4,$_;
	$h=0;
	$h|=$_,$_=0for@m[$l..$r];
	$r[$i]=$h.$/;
}sort map{($l,$u,$r)=glob;pack N4,-$u,$l+$<,$r+$<,$i++}<>;
print@r
0