会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
青衫客36
心之所向, 素履以往, 生如逆旅, 一苇以航
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
56
下一页
2019年9月3日
[linux-008] ubuntu 19.10把Pycharm固定到左侧启动栏的方法
摘要: 1. pycharm --> tools --> create Descktop Entry 输入root密码,选择让所有客户都可以使用。此时,在/usr/share/applicaitons下,会生成jetbrains-pycharm-ce.desktop 文件。 2. 将jetbrains-py
阅读全文
posted @ 2019-09-03 18:09 青衫客36
阅读(1490)
评论(0)
推荐(0)
2019年9月2日
7-2 一元多项式的乘法与加法运算 (20 分)
摘要: #include <cstdio> #include <cstdlib> // 多项式相乘 相加 // 数据结构设计 typedef struct PolyNode *Polynomial; struct PolyNode { int coef; int expon; Polynomial link; }; Polynomial ReadPoly(); void Attach(int c, int
阅读全文
posted @ 2019-09-02 19:07 青衫客36
阅读(1765)
评论(0)
推荐(1)
2019年9月1日
cvc-complex-type.2.4.a: Invalid content was found starting with element(servlet)
摘要: 解决方法: 将“http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd”这段话加入到xm
阅读全文
posted @ 2019-09-01 14:12 青衫客36
阅读(259)
评论(0)
推荐(0)
MOOC 2.3 队列
摘要: 1. 循环队列 2. 链式队列
阅读全文
posted @ 2019-09-01 10:41 青衫客36
阅读(134)
评论(0)
推荐(0)
MOOC 2.2 堆栈
摘要: 1. 顺序存储 共享栈 3. 链式栈
阅读全文
posted @ 2019-09-01 10:38 青衫客36
阅读(226)
评论(0)
推荐(0)
2019年8月29日
MOOC 2.1 线性表及其实现
摘要: 1. 顺序表 2. 链表
阅读全文
posted @ 2019-08-29 15:16 青衫客36
阅读(165)
评论(0)
推荐(0)
2019年8月27日
MOOC 1.3 最大子列和
摘要: // 求最大子列和 #include <cstdio> int a[5]; // O(n^3) int MaxSeq1(int a[], int n) { int max = 0, sum = 0; for(int i = 0; i < n; ++ i) { for(int j = i; j < n; ++ j) { sum = 0; for(int k = i; k <= j; ++ k) {
阅读全文
posted @ 2019-08-27 19:20 青衫客36
阅读(150)
评论(0)
推荐(0)
MOOC 1.2 什么是算法
摘要:
阅读全文
posted @ 2019-08-27 17:49 青衫客36
阅读(96)
评论(0)
推荐(0)
计时程序
摘要: /* 计时程序 */ #include #include clock_t start, stop; /* clock_t 是clock()函数返回的变量类型 */ double duration; /* 记录被测函数运行时间, 以秒为单位 */ int main() { /* 不在测试范围内的准备工作写在clock()调用之前 */ start = clock(); // 开始计时...
阅读全文
posted @ 2019-08-27 17:30 青衫客36
阅读(167)
评论(0)
推荐(0)
MOOC 1.1 什么是数据结构
摘要: 例二: 多项式 运行时间不到一个tick, 那怎么才能显示出一个tick所用的时间呢?(即如何测出不到1个tick的程序运行时间?) 让被测函数重复运行多次, 使得测出的总的时钟打点数间隔充分长, 最后计算出被测函数平均每次运行的时间即可
阅读全文
posted @ 2019-08-27 17:27 青衫客36
阅读(343)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
56
下一页
公告