摘要: 1.字典序:从小到大的顺序 阅读全文
posted @ 2020-06-12 18:17 miao-xixixi 阅读(209) 评论(0) 推荐(0)
摘要: 题目如下: 思路: 1.考虑开头就是) 肯定NO 2.每次输入一个数字一定是左括号大于等于右括号,否则NO 3.其余就是左右括号数目相等 代码如下: #include<cstdio> #include<iostream> using namespace std; int main(){ char a 阅读全文
posted @ 2020-06-12 17:41 miao-xixixi 阅读(263) 评论(0) 推荐(0)