摘要:
#include<iostream> class Base { public: int x; }; class Derive : public Base { int y; }; void fun(Base* b) { b[1].x = 1; } int main() { Derive arr[5]; 阅读全文
摘要:
#include<time.h> #include<string> #include<vector> #include<iostream> using std::cout; using std::endl; using std::string; namespace test { /**位图概念 * 阅读全文
摘要:
set #include"26RBT_container.h" namespace test { //set通过普通迭代器使用const迭代器实现限制key不能被修改 template<class K> class set { private: struct setKeyOfT//命名? 返回RBT 阅读全文
摘要:
#pragma once #include<assert.h> #include<iostream> using std::cout; using std::endl; using std::cin; using std::pair; using std::make_pair; using std: 阅读全文
摘要:
#pragma once #include<vector> #include<string> #include<iostream> using std::cout; using std::endl; using std::pair; using std::make_pair; namespace H 阅读全文
摘要:
#pragma once //#include<unordered_map> //#include<unordered_set> #include<string> #include<iostream> using std::cout; using std::endl; using std::cin; 阅读全文
摘要:
#include<deque> //测试用 #include<vector>//测试用 #include"9Date.h"//测试用 #include<iostream> using std::cout; using std::endl; using std::cin; namespace test 阅读全文
摘要:
#include<list> #include<assert.h> #include<deque> #include<iostream> using std::cout; using std::endl; using std::cin; namespace test { //template<cla 阅读全文
摘要:
#pragma once #include<assert.h> #include<list> #include<vector> #include<deque> #include<iostream> using std::cout; using std::endl; using std::cin; n 阅读全文