Brackets Sequence POJ - 1141
Let us define a regular brackets sequence in the following way:1. Empty sequence is a regular sequence.2. If S is a regular sequence, then (S) and [S] are both regular sequences.3. If A and B are regular sequences, then AB is a regular sequence.For...
原创
2020-12-05 13:59:51 ·
213 阅读 ·
0 评论