会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
justdoit~
博客园
首页
新随笔
联系
订阅
管理
2018年11月12日
第四天笔记
摘要: 2.1什么是程序性能 program performance:程序性能 performance analysis:性能分析 performance measurement:性能测量 space complexity:时间复杂度 time complexity:空间复杂度 2.2空间复杂度 instr
阅读全文
posted @ 2018-11-12 16:25 justdoit~
阅读(95)
评论(0)
推荐(0)
2018年11月11日
第三天笔记
摘要: 第二章 程序性能分析 2.1什么是程序性能 program performance:程序性能 performance analysis:性能分析 performance measurement:性能测量 space complexity:时间复杂度 time complexity:空间复杂度 2.2
阅读全文
posted @ 2018-11-11 21:58 justdoit~
阅读(95)
评论(0)
推荐(0)
2018年11月10日
第二天笔记
摘要: 1.5自有数据类型第二部分 friend:友元 derived class:派生类 base class:基类 protected:保护性成员 1.enum类型: 枚举常量只能以标识符形式表示,而不能是整型、字符型等文字常量。例如,以下定义非法: enum letter_set {'a','d','
阅读全文
posted @ 2018-11-10 20:41 justdoit~
阅读(333)
评论(0)
推荐(0)
2018年11月7日
第一天笔记
摘要: 第一部分 预备知识 第一章 c++回顾 1.2函数与参数 专有名词: formal parameter:形式参数 actual parameter:实际参数 value parameter:传值参数 copy constructor:复制构造函数 destructor:析构函数 reference
阅读全文
posted @ 2018-11-07 21:28 justdoit~
阅读(134)
评论(0)
推荐(0)
2018年11月5日
vector的应用
摘要: //算法笔记STL部分vector篇 #include #include #include #include using namespace std; const int M = 26*26*26*10+1;//一共有M种姓名组合的可能 (主营常量的定义方式与宏的定义方式的区别) vector s[M];//每个vector对应每个学生的选课情况 int getID(char na...
阅读全文
posted @ 2018-11-05 20:23 justdoit~
阅读(286)
评论(0)
推荐(0)
set(集合)的应用
摘要: 1 //算法笔记STL部分set篇 2 #include 3 #include 4 const int N = 50; 5 using namespace std; 6 set st[N]; //定义一个集合数组 7 void compare(int x, int y) //输出st[x]与st[y]...
阅读全文
posted @ 2018-11-05 20:18 justdoit~
阅读(300)
评论(0)
推荐(0)
字符串处理
摘要: 1 //字符串处理部分第一题 2 #include 3 int main() 4 { 5 int n; 6 scanf("%d", &n); //输入一个不超过三位的正整数 7 int a[3]; 8 int num = 0; 9 while(n != 0) //1.将输入的三...
阅读全文
posted @ 2018-11-05 20:11 justdoit~
阅读(138)
评论(0)
推荐(0)
2018年10月20日
指针与引用注意点
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2018-10-20 15:46 justdoit~
阅读(3)
评论(0)
推荐(0)
公告