自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 py学习笔记

1.切片list LL[-2:-4]L[1:10:2]同matlabL[:]复制tuple(0,1,2,3,4)[0:3]字符串2.print 默认换行print x不换行print x,print y,orprint x,y

2020-01-20 16:34:13 207

原创 【Data Structure】Tree

Recently I am learning tree, which is a bit tricky foe me. So I decide to keep the log to record some basic steps of it.Binary Treetypedef struct TreeNode *Tree;struct TreeNode{ int Element; Tre...

2019-10-15 18:38:56 213

原创 Merge Sort

计算逆序对个数Bubble Sort/Insertion Sort由于冒泡排序就是交换逆序对,所以冒泡排序的交换次数可以通过用归并排序算逆序对次数达到插入排序同理int k,n,ans=0;int a[50010],b[50010];//a原数组,b暂存数组 void merge_sort(int l,int r) {//归并 if(l==r)return ;//...

2019-10-13 11:15:12 183 1

原创 record of avoidable errors

Errors appears foolish are factually a manifestation of unfamiliarity of knowledgeds previewlinked list1.Knowing the number of node n and use for loop to go through the linked listForget p=p->n...

2019-08-14 11:38:58 166

原创 codeforce #578(DIV.2)

codeforce #578(DIV.2)A.hotel registerInput ‘L’,register in the first room from the left side.The same with ‘R’.Input number 1-10(note that it’s not 0-9),log out the corresponding room.key:Define...

2019-08-14 11:28:08 1505

原创 reference

这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Ma...

2019-08-12 11:44:29 185

空空如也

空空如也

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

TA关注的人

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