Balancing Symbols 时间限制1000 ms 内存限制65536 KB 题目描述 Balancing symbols: Check if parenthesis ( ), brackets 【】, and braces {} are balanced.输入格式 An expression includes variables and symbols. The max length is 50. 输出格式 1 line. If all the (, 0 and {} are balanced, then output 0. If () are not balanced, output 1; If 0 are not balanced, output 2;lf {} are not balanced, output 3. If more than one symbol are not balanced, output corresponding numbers, sort them in ascending order and divide them by comma.
Balancing Symbols时间限制1000 ms 内存限制65536 KB题目描述Balancing symbols: Check if parenthesis ( ), brackets 【】, and braces {} are balanced.输入格式An expression includes variables and symbols. The max length is 50.输出格式1 line.If all the (, 0 and {} are balanced,.