摘要: #include <iostream>#include <list>#include <algorithm>using namespace std; //底层结构是双向链表 struct Node{ int a; char c; }; struct Node1{ //重点中的重点 int a; ch 阅读全文
posted @ 2020-02-10 19:46 sos3210 阅读(221) 评论(0) 推荐(0)
摘要: #include <iostream>#include <vector>#include <algorithm> //for_each#include <ctime>using namespace std; void STRConstructor() //初始化,输入{ vector<int> ve 阅读全文
posted @ 2020-02-10 19:37 sos3210 阅读(169) 评论(0) 推荐(0)
摘要: #include <iostream>#include <string>#include <algorithm>using namespace std; void definition() //定义{ string str(5,'a'); cout << str <<endl; string str 阅读全文
posted @ 2020-02-10 19:33 sos3210 阅读(188) 评论(0) 推荐(0)
摘要: 为什么明明结果都可以到达那种情况,步骤不一样就不给通过 QAQ 有哪位大佬提点一下,在下感激不尽~~~ 我的代码: #include <iostream>#include <queue>#include <cstdio>#include <string>using namespace std;int 阅读全文
posted @ 2020-02-10 18:48 sos3210 阅读(313) 评论(0) 推荐(0)