摘要: #include #include #include using namespace std; int main() { string str; cin>>str; stack s; for(int i=0;i='a'&&str[i]='A'&&str[i]<='Z')){ //直接输出操作数 cout<<str[i]; ... 阅读全文
posted @ 2019-04-30 16:26 萌新上路 阅读(154) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; int a[100]; string Convert(string s,int m,int n){ for (int i=0;i='0' && s[i]=0 && sum 003429355 { a[i] += point*m; ... 阅读全文
posted @ 2019-04-30 15:48 萌新上路 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; struct BSTNode{ int val; BSTNode* left; BSTNode* right; BSTNode* parent; }; bool insert(BSTNode* &root, BSTNode* node){ BSTNode* t ... 阅读全文
posted @ 2019-04-30 01:24 萌新上路 阅读(103) 评论(0) 推荐(0) 编辑