結果

問題 No.52 よくある文字列の問題
ユーザー %20%20
提出日時 2017-08-19 19:34:31
言語 Perl
(5.38.2)
結果
AC  
実行時間 6 ms / 5,000 ms
コード長 105 bytes
コンパイル時間 32 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 5,676 KB
最終ジャッジ日時 2023-10-22 04:10:16
合計ジャッジ時間 728 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
5,524 KB
testcase_01 AC 3 ms
5,524 KB
testcase_02 AC 6 ms
5,524 KB
testcase_03 AC 4 ms
5,524 KB
testcase_04 AC 6 ms
5,676 KB
testcase_05 AC 6 ms
5,532 KB
testcase_06 AC 6 ms
5,640 KB
testcase_07 AC 5 ms
5,568 KB
testcase_08 AC 4 ms
5,524 KB
testcase_09 AC 3 ms
5,524 KB
testcase_10 AC 4 ms
5,524 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@S=<>=~/./g;
for$p(0..2**@S){
	$a=$l=0;$r=@S;
	$a.=$S[$p>>$_&1?$l++:--$r]for 0..$#S;
	$\+=!$$a++
}
print
0