- 博客(7)
- 收藏
- 关注
转载 第四天笔记
2.1什么是程序性能program performance:程序性能 performance analysis:性能分析performance measurement:性能测量space complexity:时间复杂度 time complexity:空间复杂度2.2空间复杂度instruction space:指令空间---编译器的覆盖选项data sp...
2018-11-12 16:25:00
158
转载 第三天笔记
第二章 程序性能分析2.1什么是程序性能program performance:程序性能 performance analysis:性能分析performance measurement:性能测量space complexity:时间复杂度 time complexity:空间复杂度2.2空间复杂度instruction space:指令空间---编译器的覆...
2018-11-11 21:58:00
121
转载 第二天笔记
1.5自有数据类型第二部分friend:友元 derived class:派生类 base class:基类 protected:保护性成员1.enum类型:枚举常量只能以标识符形式表示,而不能是整型、字符型等文字常量。例如,以下定义非法: enum letter_set {'a','d','F','s','T'}; //枚举常量不能是字符常量 enum ...
2018-11-10 20:41:00
146
转载 第一天笔记
第一部分 预备知识第一章 c++回顾1.2函数与参数专有名词:formal parameter:形式参数 actual parameter:实际参数 value parameter:传值参数copy constructor:复制构造函数 destructor:析构函数 reference parameter:引用参数const reference:常量引用 ref...
2018-11-07 21:28:00
141
转载 vector的应用
//算法笔记STL部分vector篇 #include<iostream>#include<cstdio> #include<vector>#include<algorithm>using namespace std;const int M = 26*26*26*10+1;//一共有M种姓名组合的可能 (主营...
2018-11-05 20:23:00
150
转载 set(集合)的应用
1 //算法笔记STL部分set篇 2 #include<cstdio> 3 #include<set> 4 const int N = 50; 5 using namespace std; 6 set<int> st[N]; //定义一个集合数组 7 void com...
2018-11-05 20:18:00
179
转载 字符串处理
1 //字符串处理部分第一题 2 #include<cstdio> 3 int main() 4 { 5 int n; 6 scanf("%d", &n); //输入一个不超过三位的正整数 7 int a[3]; 8 int num = 0; 9 while(n !...
2018-11-05 20:11:00
76
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人