Language:Default Brackets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2394 Accepted: 1233 Description We give the following inductive definition of a “regular bracke
Brackets Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3951 Accepted: 2078 Description We give the following inductive definition of a “regular brackets” sequence: the empt
Brackets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6647 Accepted: 3577 Description We give the following inductive definition of a “regular brackets” sequence: the empty sequence
1、http://poj.org/problem?id=2955 2、题目大意 给出一个只包含()[]的字符序列,求出该字符序列中有规律的符号序列的最长长度 有规律的序列要求如下: the empty sequence is a regular brackets sequence,if s is a regular brackets sequence, then (s) and [s] a