摘要:
#include <iostream>#include <algorithm>#include <deque> using namespace std; //二元谓词//比较两个数的大小bool absLess(int elementParam1,int elementParam2){ return 阅读全文
posted @ 2019-06-10 20:45
西北逍遥
阅读(3325)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <vector>#include <functional>#include<set> using namespace std; //一元谓词bool isEven(int elementParam){ i 阅读全文
posted @ 2019-06-10 20:25
西北逍遥
阅读(1296)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <set> using namespace std; template<typename Container>void PrintContents(const Container& con); template<typename Contain 阅读全文
posted @ 2019-06-10 15:00
西北逍遥
阅读(167)
评论(0)
推荐(0)
摘要:
template<typename Container>void PrintContents(const Container& con) { Container::const_iterator iter = con.begin(); while (iter != con.end()) { cout 阅读全文
posted @ 2019-06-10 14:40
西北逍遥
阅读(352)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <map>#include <string> using namespace std; int main(){ map<int, string> map1; multimap<int, string> multimap1; map1.inser 阅读全文
posted @ 2019-06-10 10:15
西北逍遥
阅读(1633)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <string> using namespace std; int main(){ string str1("hello"); string str2("hello"); string str3("world"); if (str1 != st 阅读全文
posted @ 2019-06-10 09:20
西北逍遥
阅读(2771)
评论(0)
推荐(0)

浙公网安备 33010602011771号