自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 标准的dfs模板,深度遍历

https://leetcode-cn.com/problems/increasing-subsequences/solution/biao-zhun-dfsmo-ban-shao-jia-gai-jin-by-mr_cai/https://leetcode-cn.com/problems/permutations/solution/hui-su-suan-fa-xiang-jie-by-labuladong-2/

2020-05-19 14:45:06 135

原创 c++primerplus第六版第十二章第四答案

#pragma oncetypedef unsigned long Item;#include<iostream>class stack{ enum { max = 3 }; Item *pitem; int size; int top;public: stack(int n = max); stack(const stack&st); ~stack...

2020-03-09 15:46:28 110

原创 c++primer plus第六版第十二章第三题

#pragma once#include<iostream>class stock{ char*str; int shares; double share_val; double total_val; void set_tot() { total_val = shares * share_val; };public: stock(); stock(const ch...

2020-03-04 20:42:07 93

原创 c++primerplus第六版第十二章第二题

#pragma once#include<iostream>using namespace std;class stringg{ int len; char *str;public: stringg(); stringg(const char*p); stringg(const stringg&c); stringg &operator=(cons...

2020-03-02 22:51:34 112

原创 c++primer plus第六版第十二章第一题

//h文件#pragma onceclass cow{ char name[20]; char*hobby; double weight;public: cow(); cow(const char*m, const char*ho, double wt); cow(const cow&c); cow &operator=(const cow&c); ...

2020-03-01 21:45:42 93

原创 c++primer第六版第十一章第七题

//h文件#pragma once#include<iostream>using namespace std;class coplexx{ double x; double y;public: coplexx() { x = 0; y = 0; }; coplexx(double a, double b) { x = a, y = b; }; coplexx o...

2020-02-27 10:32:17 244

原创 c++primer第六版十一章第四题

#h文件#include<iostream>class time{ int minute; int hour;public: time() { minute = 0, hour = 0; }; time(int a, int b) { hour = a, minute = b; }; time(int a) { hour = a / 60, minute = a - ...

2020-02-15 20:25:44 57

原创 c++primer11章,123

h文件#includeusing namespace std;class vector{double x;double y;double distance;double ang;public:vector() { x = 0, y = 0, distance = 0, ang = 0; };vector(double a, double b, char m);void se...

2020-02-15 19:34:57 107

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除