結果

問題 No.22 括弧の対応
ユーザー tailstails
提出日時 2015-02-11 18:59:26
言語 Perl
(5.38.2)
結果
AC  
実行時間 122 ms / 5,000 ms
コード長 75 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 10,676 KB
最終ジャッジ日時 2023-09-27 12:48:31
合計ジャッジ時間 1,127 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,676 KB
testcase_01 AC 2 ms
4,480 KB
testcase_02 AC 2 ms
4,656 KB
testcase_03 AC 122 ms
10,676 KB
testcase_04 AC 9 ms
6,828 KB
testcase_05 AC 8 ms
6,812 KB
testcase_06 AC 12 ms
8,172 KB
testcase_07 AC 12 ms
7,508 KB
testcase_08 AC 11 ms
8,072 KB
testcase_09 AC 9 ms
6,696 KB
testcase_10 AC 13 ms
7,716 KB
testcase_11 AC 7 ms
6,040 KB
testcase_12 AC 10 ms
7,736 KB
testcase_13 AC 13 ms
8,416 KB
testcase_14 AC 4 ms
5,156 KB
testcase_15 AC 16 ms
8,908 KB
testcase_16 AC 18 ms
9,948 KB
testcase_17 AC 2 ms
4,628 KB
testcase_18 AC 2 ms
4,560 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>=~$";$k=$';<>=~/(\((?1)*\))(?{$b[$b[$+[1]]=$-[1]+1]=$+[1]})^/;print$b[$k]
0