- 博客(7)
- 收藏
- 关注
原创 PAT甲级——1002 A+B for Polynomials (25分)
题目:This time, you are supposed to findA+BwhereAandBare two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polynomial:KN1aN1N2aN...
2020-07-14 22:24:27
92
原创 PAT甲级——1001 A+B Format(20分)
题目:Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).InputEach input file contains one test case. Each case contains a pair of integer
2020-07-13 20:26:22
90
原创 2.3.1HeadNodeList
/* 单链表单链表两种实现方式:带头节点和不带头节点 *//* 带头结点的单链表的实现 */#include<stdio.h>#include<stdlib.h>typedef int ElemType;typedef struct LNode{ //定义单链表的结构类型 ElemType data; //每个节点存放一个数据元素 struct LNode *next;
2020-06-06 11:12:32
192
原创 2.2SeqList
/*顺序表动态分配*/#include<stdio.h>#include<stdlib.h> //malloc , free 函数的头文件#define InitSize 10 //顺序表的初始长度typedef int ElemType;typedef struct{ ElemType *data; //指示动态分配数组的指针 int MaxSize;
2020-06-06 11:11:15
350
原创 2.2SqList
/*顺序表——用顺序存储的方式实现线性表把逻辑上的元素存储在物理位置上也相邻的存储单元中*//*静态分配*/#include<stdio.h>#define MaxSize 10 //定义最大长度typedef int ElemType;typedef struct{ ElemType data[MaxSize]; //用静态的数组存放数据元素 int length; //顺序表的当前长度}SqList;
2020-06-06 11:07:27
183
原创 WordPress文章发布失败或更新失败解决方法
最近我的WordPress网站出现了一个问题,无法发布文章与修改文章,点击发布后会显示发布失败,修改旧文章或保存草稿则会提示更新失败,所有的内容都无法更新了,经过一番查找才解决,这里分享下我采用的可行的方法:使用经典编辑器因为错误都是在古腾堡编辑器中出现的,我们可以换成原版的编辑器到WordPress插件中心安装第二个插件经典编辑器然后默认的文章编辑界面就会改为经典编辑...
2020-01-18 19:38:20
4620
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人