結果

問題 No.22 括弧の対応
ユーザー tailstails
提出日時 2015-02-17 10:29:33
言語 Perl
(5.38.0)
結果
AC  
実行時間 124 ms / 5,000 ms
コード長 60 bytes
コンパイル時間 62 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 10,036 KB
最終ジャッジ日時 2023-09-27 12:49:57
合計ジャッジ時間 1,152 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,480 KB
testcase_01 AC 2 ms
4,552 KB
testcase_02 AC 2 ms
4,556 KB
testcase_03 AC 124 ms
10,036 KB
testcase_04 AC 10 ms
6,548 KB
testcase_05 AC 9 ms
6,640 KB
testcase_06 AC 14 ms
7,616 KB
testcase_07 AC 14 ms
7,064 KB
testcase_08 AC 13 ms
7,856 KB
testcase_09 AC 10 ms
6,520 KB
testcase_10 AC 13 ms
7,208 KB
testcase_11 AC 8 ms
5,872 KB
testcase_12 AC 13 ms
7,336 KB
testcase_13 AC 15 ms
8,152 KB
testcase_14 AC 4 ms
5,168 KB
testcase_15 AC 16 ms
8,240 KB
testcase_16 AC 19 ms
9,648 KB
testcase_17 AC 3 ms
4,584 KB
testcase_18 AC 2 ms
4,584 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

/(\((?1)*\))(?{$b[$b[pos]="@-"+1]=pos})^| /,print$b[$']for<>
0