随笔分类 -  c++

摘要:matrix.h #ifndef MATRIX_H_ #define MATRIX_H_ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <limits.h> #include < 阅读全文
posted @ 2021-02-02 21:55 差三岁 阅读(637) 评论(0) 推荐(0)
摘要:#ifndef HEAD_H_ #define HEAD_H__ #include <iostream> #include <array> #include <vector> #include <queue> #include <cassert> #include <string> #include 阅读全文
posted @ 2020-12-04 14:35 差三岁 阅读(110) 评论(0) 推荐(0)
摘要:链表的基本概念不加以赘述,看看双头链表的定义如下: 在一个长度为L的链表List中,Input: head tail >在List中查找head和tail值的链表的节点,从tail节点往后的链表连接到List的头部去,然后改变tail节点的next-->head,图如下: 下面看看c++版本的实现: 阅读全文
posted @ 2020-12-04 14:33 差三岁 阅读(285) 评论(0) 推荐(0)