自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wz_e18的博客

新手入门,一起加油

  • 博客(25)
  • 资源 (1)
  • 收藏
  • 关注

原创 esp8266 mqtt 阿里云 error:2

通过mqtt连接阿里物联网平台,错误代码2,解决方法

2020-06-29 19:59:59 1290 2

原创 vmware虚拟机桥接无网络

桥接的网卡默认是自动选择的,但多网卡情况下有时会出差,手动更改后网络恢复。

2020-06-16 10:01:05 953

原创 Deepin 添加菜单项

Deepin添加菜单项

2020-06-15 21:24:46 1246

原创 闰年计算

① 普通年能被4整除且不能被100整除的为闰年。(如2004年就是闰年)② 世纪年能被400整除的是闰年。(如2000年是闰年)③、对于数值很大的年份,这年如果能整除3200,并且能整除172800则是闰年。如172800年是闰年,86400年不是闰年(因为虽然能整除3200,但不能整除172800)(此按一回归年365天5h48’45.5’'计算)。

2020-06-15 21:14:51 439

原创 c语言打字小程序

借鉴了大佬的成果https://blog.csdn.net/aiwangtingyun/article/details/79623643大佬已经实现了基本功能,这里主要增加随机生成字符,记录时间的功能,目前还不够完善。

2020-06-15 21:09:35 517

原创 新的开始

又回来了

2020-06-15 20:45:22 100

原创 尴尬日常

Linux无回显无缓存输入

2020-06-15 20:34:15 147

转载 nginx php-fpm File not found

记录一下Nginx访问PHP文件的File not found错误处理,两种情况

2019-12-15 00:05:32 147

原创 Hexo博客增加评论和浏览量统计

在Hexo最新的Next主题中已经集成了valine和busuanzi_count,我们只需要修改配置文件启用这些插件就可以了。

2019-11-03 14:11:07 808

原创 GitPage+Hexo搭建博客

记录了本博客搭建的详细过程,为之后的学习做一个备份。参考文章:使用 Hexo+GitHub 搭建个人免费博客教程(小白向)(https://zhuanlan.zhihu.com/p/60578464)

2019-11-03 14:07:16 270

原创 树的先序 中序 后序 非递归算法

非递归算法将空间消耗从栈区转换到堆区,避免了栈溢出的导致程序崩溃。typedef struct trnode{ char x; struct trnode* lchild, * rchild;} Trnode, *Tree;Tree buildtree(char * &s){ if(*s && *s != ',') { ...

2019-01-19 23:42:13 161

原创 链表C语言简单实现

使用C语言完成的链表,分成linkQueue.h,和linkQueue.c两个文件

2019-01-07 22:30:57 126

原创 SDUT-2484 算术表达式的转换

 #include<stdio.h>#include<stdlib.h>#include<string.h>#define Maxsize 1000typedef char Elementtype;struct node{ Elementtype * data; int top; int maxsize;};i...

2018-10-11 19:16:26 141

原创 SDUTOJ - 2131 数据结构实验之栈与队列一:进制转换

题目链接#include <iostream>#include <cstdlib>using namespace std;typedef int ElementType;typedef struct Snode{ ElementType x; struct Snode * next;} Snode, *Ptr_snode;typ...

2018-10-10 10:33:52 302

翻译 Checkerboard

Byung is playing a game on her infinite checkerboard. The goal of the game is to move from a starting position (rs, cs) to a target position (rt, ct) using exactly x moves, where x is determined by a ...

2018-10-10 09:27:03 888

翻译 POJ - 1797 Heavy Transportation

题目Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whether there really is a way from the place his...

2018-10-10 09:25:56 151

原创 POJ-1062 昂贵的聘礼

年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金币,便请求酋长降低要求。酋长说:"嗯,如果你能够替我弄到大祭司的皮袄,我可以只要8000金币。如果你能够弄来他的水晶球,那么只要5000金币就行了。"探险家就跑到大祭司那里,向他要求皮袄或水晶球,大祭司要他用金币来换,或者替他弄来其他的东西,...

2018-10-10 09:24:18 119

原创 SDUTOJ-2054 数据结构实验之链表九:双向链表

 题目链接#include <iostream>#include <cstdlib>using namespace std;typedef int ElementType;typedef struct node{ ElementType x; struct node * next; struct node * front;} ...

2018-10-10 09:18:42 228

原创 SDUTOJ-3331 数据结构实验之链表八:Farey序列

链表节点插入练习题 题目链接#include <stdio.h>#include <cstdlib>using namespace std;typedef int ElementType;typedef struct node{ ElementType x, y; struct node * next;} Lnode;typede...

2018-10-08 17:02:07 133

原创 类实现 链表

刚接触面相对象,自己猜着写的,请多指教#include <stdio.h>#include <stdlib.h>#include <string.h>template <class ElementType>class List{private : typedef struct Lnode { Ele...

2018-09-27 21:57:01 736

原创 SDUT 3330 二分查找

顺序表的应用 题目链接#include <cstdio>#include <cstdlib>const int Maxsize = 1e6+5;typedef int ElemType;typedef struct{ ElemType *ele; int length; int maxsize;} List;int Bina...

2018-09-26 08:50:39 202

翻译 CSU - 1960 - 单源最大权路径

题目链接:1960: 单源最大权路径Description有一棵由N个结点构成的树,每一条边上都有其对应的权值。现在给定起点,求从该点出发的一条路径(至少有一条边)使得这条路径上的权值之和最大,并输出这个最大值。Input第一行一个正整数T,代表数据组数。每组数据第一行两个正整数n(2<=n<=10^5),s(1<=s<=n),分别表示树结点数目以及给定的起...

2018-09-06 08:54:42 116

翻译 SDUT 3363 元素位置互换之逆置算法

#include <cstdio>#include <cstdlib>const int Maxsize = 1e6+5;typedef int ElemType;typedef struct{ ElemType *ele; int length; int maxsize;} List;void Swap(int &p,...

2018-09-05 23:16:27 151

原创 阶乘 C

一个求 1——n 中所有数阶乘的程序#include <stdio.h>int a[100000];//数组大点安全int main(){ int i, dig = 1, jin = 0, n; a[0] = 1; scanf("%d", &n); for(int i = 1; i <= n; i++) { ...

2018-09-05 17:14:18 229

翻译 Keylogger Gym - 101078I

ProblemAs a malicious hacker you are trying to steal your mother’s password, and therefore you have installed a keylogger on her PC (or Mac, so you like). You have a log from your mother typing the ...

2018-08-29 21:26:32 174

packet tracer 模拟校园网.pkt

使用packet tracer搭建一个模拟校园网,分主校区和分校区,两个校区通过IPSec 相连,每栋楼处于一个vlan,通过三层交换机实现不同vlan间通信,以及不同vlan的自动ip分配,两个email服务器,可互发邮件

2020-06-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除