题目: 分析: 属于一般的括号问题,正着的的是统计(的个数,倒着的话,是统计)的个数, 代码: class Solution { public: int minInsertions(string s) { int c=0;//( int ans=0; int ok=1; for(