結果

問題 No.204 ゴールデン・ウィーク(2)
ユーザー tailstails
提出日時 2015-05-08 22:48:33
言語 Perl
(5.38.2)
結果
AC  
実行時間 4 ms / 1,000 ms
コード長 153 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 4,864 KB
最終ジャッジ日時 2023-08-25 23:33:52
合計ジャッジ時間 1,956 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,632 KB
testcase_01 AC 3 ms
4,636 KB
testcase_02 AC 3 ms
4,756 KB
testcase_03 AC 3 ms
4,848 KB
testcase_04 AC 3 ms
4,736 KB
testcase_05 AC 3 ms
4,816 KB
testcase_06 AC 3 ms
4,652 KB
testcase_07 AC 3 ms
4,580 KB
testcase_08 AC 3 ms
4,508 KB
testcase_09 AC 3 ms
4,816 KB
testcase_10 AC 3 ms
4,576 KB
testcase_11 AC 3 ms
4,560 KB
testcase_12 AC 3 ms
4,636 KB
testcase_13 AC 3 ms
4,688 KB
testcase_14 AC 3 ms
4,524 KB
testcase_15 AC 3 ms
4,636 KB
testcase_16 AC 3 ms
4,576 KB
testcase_17 AC 3 ms
4,636 KB
testcase_18 AC 3 ms
4,684 KB
testcase_19 AC 4 ms
4,576 KB
testcase_20 AC 3 ms
4,688 KB
testcase_21 AC 3 ms
4,864 KB
testcase_22 AC 3 ms
4,684 KB
testcase_23 AC 3 ms
4,632 KB
testcase_24 AC 3 ms
4,636 KB
testcase_25 AC 3 ms
4,704 KB
testcase_26 AC 3 ms
4,668 KB
testcase_27 AC 3 ms
4,848 KB
testcase_28 AC 3 ms
4,660 KB
testcase_29 AC 3 ms
4,832 KB
testcase_30 AC 4 ms
4,812 KB
testcase_31 AC 3 ms
4,520 KB
testcase_32 AC 3 ms
4,804 KB
testcase_33 AC 3 ms
4,708 KB
testcase_34 AC 3 ms
4,636 KB
testcase_35 AC 3 ms
4,736 KB
testcase_36 AC 3 ms
4,640 KB
testcase_37 AC 3 ms
4,712 KB
testcase_38 AC 3 ms
4,660 KB
testcase_39 AC 3 ms
4,508 KB
testcase_40 AC 3 ms
4,528 KB
testcase_41 AC 3 ms
4,556 KB
testcase_42 AC 3 ms
4,712 KB
testcase_43 AC 3 ms
4,636 KB
testcase_44 AC 3 ms
4,680 KB
testcase_45 AC 3 ms
4,688 KB
testcase_46 AC 3 ms
4,636 KB
testcase_47 AC 3 ms
4,688 KB
testcase_48 AC 3 ms
4,640 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "x" may clash with future reserved word at Main.pl line 1.
Unquoted string "x" may clash with future reserved word at Main.pl line 1.
Unquoted string "o" may clash with future reserved word at Main.pl line 3.
Main.pl syntax OK

ソースコード

diff #

$n=<>+0;$a=x x 14 .<>.<>.x x 14;$r=0;
for$j(0..28){
	$_=$a;s/\n//g;pos=$j;s/\Gx{0,$n}/o x length$&/e;
	$x=0;
	/o/?$r+=$-=++$x-$r:($x=0)for/./g;
}
print$r
0