会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嘻嘻嘻ziixi
博客园
首页
新随笔
联系
管理
订阅
2020年11月26日
二叉树的创建及其遍历
摘要: #include <stdio.h> #include <stdlib.h> struct Bintree { char info; struct Bintree *lchild,*rchild; }; typedef struct Bintree *BinTreeNode; typedef str
阅读全文
posted @ 2020-11-26 18:56 嘻嘻嘻ziixi
阅读(125)
评论(0)
推荐(0)
2020年10月6日
约瑟夫环之链表实现 C++实现
摘要: #include <iostream>#include <stdlib.h>using namespace std;struct node{ int x; //号码 int data; //密码 struct node * next; //下一个节点};typedef struct node *Li
阅读全文
posted @ 2020-10-06 19:15 嘻嘻嘻ziixi
阅读(215)
评论(0)
推荐(0)
2020年9月19日
简单链表
摘要: #include <iostream>#include <stdlib.h>using namespace std;struct node{ int data; struct node *link;};typedef struct node *plist;plist creat_list(int m
阅读全文
posted @ 2020-09-19 16:58 嘻嘻嘻ziixi
阅读(123)
评论(0)
推荐(0)
2020年9月5日
pycharm 补丁安装
摘要: 找到学院大佬要到的资源 pycharm-professional-2018.3.1 https://pan.baidu.com/s/1oj7RDiaITuXSM65Hty7GFA 提取码:60gl 用补丁获取无限期的使用。我还需要补丁 https://pan.baidu.com/s/1wcl94Zz
阅读全文
posted @ 2020-09-05 23:01 嘻嘻嘻ziixi
阅读(477)
评论(0)
推荐(0)
2020年9月2日
做线性dp类的题目时,对菲波拉契数列的特殊理解
摘要: #include <iostream> using namespace std; const int N = 60; long long dp[N]; int n; void show(){ dp[0]=0;dp[1]=1; dp[2]=2;dp[3]=3;dp[4]=4; for(int i=5;
阅读全文
posted @ 2020-09-02 22:39 嘻嘻嘻ziixi
阅读(184)
评论(0)
推荐(0)
2020年7月17日
C++ 中的sort排序用法
摘要: C++ 中的sort排序用法 C中的qsort()采用的是快排算法,C++的sort()则是改进的快排算法。两者的时间复杂度都是n*(logn),但是实际应用中,sort()一般要快些,建议使用sort()。 STL中自带了快速排序,对给定区间进行排序,包含在头文件<algorithm>中 ,语法描
阅读全文
posted @ 2020-07-17 17:54 嘻嘻嘻ziixi
阅读(977)
评论(0)
推荐(0)
2020年7月16日
git文件泄露
摘要: git 是一个开源的分布式版本控制系统https://git-scm.com/ 通过git init 创建一个仓库 通过泄露的。git文件夹下的文件,还原重建工程源代码 解析.git/objects/ 文件,找到工程中所有的:(文件名,sha1) 去.git/pbjects/文件夹下下载对应文件 z
阅读全文
posted @ 2020-07-16 14:51 嘻嘻嘻ziixi
阅读(1069)
评论(0)
推荐(0)
shodan 的初始化及简单命令
摘要: kali安装shodan :easy_install shodan 之后:shodan -h 查看是否安装成功 初始化: shodan init <api key> 可以去官网www.shodan.io注册, 查看自己账号积分: shodan info 查看我的互联网IP: shodan myip
阅读全文
posted @ 2020-07-16 12:20 嘻嘻嘻ziixi
阅读(718)
评论(0)
推荐(0)
2020年7月15日
结构体用sort排序
摘要: #include <iostream> #include <algorithm> using namespace std; struct stu{ char name[20]; int ar; }; bool map(struct stu a,struct stu b){ if(a.ar<b.ar)
阅读全文
posted @ 2020-07-15 20:48 嘻嘻嘻ziixi
阅读(198)
评论(0)
推荐(0)
2020年7月13日
循环节计算
摘要: 两个整数做除法,有时会产生循环小数,其循环部分称为:循环节。 比如,11/13=0.846153846153…11/13=0.846153846153\ldots11/13=0.846153846153… 其循环节为846153共有 6位 int m(int n,int m){ vector<int
阅读全文
posted @ 2020-07-13 11:25 嘻嘻嘻ziixi
阅读(1344)
评论(0)
推荐(0)
下一页
公告