自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Linux/Ubuntu How to play with Vim(持续更新)

先介绍一下Vim是什么神器Vim是一个文本编辑器和现在流行的sublime text 3、VsCode一样的道理,Vim因为其代码补完、编译及错误跳转等方便编程的功能特别丰富,在程序员中被广泛使用。那么这篇文章到底要介绍什么1. 如何在Linux环境下安装Vim2. 在Linux环境下配置Vim3. 在Linux环境下配置GCC环境4. 使用Vim来写C++程序并且编译运行5. 把Vim打造成轻量级

2017-02-13 20:53:38 407

原创 RobotC 3.X安装和使用教程

Step 0先把之前安装的4.X版本和3.X版本都卸载干净Step 1下载好所需要的文件点我 提取码 jxdc Step 2双击运行 ROBOTCforMINDSTORMS_362.exe这里请不要修改默认路径一直点next,出现黑窗口千万不要手动去关闭它。 这里出现警告是因为我原本软件已经进行了破解,然后卸载软件后破解仍然存在才会提示警告。 接

2016-12-15 20:16:19 2293

原创 UVA 10082 WERTYU

UVA 10082 WERTYUUVA 10082#include<cstdio>#include<iostream>#include<cstring>using namespace std;char str[]={"`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"};char c;int main(){ while((c = ge

2016-11-01 08:47:05 284

原创 UVA272 TEX Quotes

UVA 272#include#include#includeusing namespace std;char str;int main(){ bool f = true; while((str = getchar())!=EOF) { if(str == '"') { p

2016-10-29 13:41:51 286

原创 数据结构 堆

本代码参考《算法导论》堆结构是一种特殊的二叉树结构,可以近似看作于完全二叉树,我们一般讨论的堆结构是二叉堆结构,其形式一般是:最大堆,最小堆。最大堆每次从堆顶取出最大值然后进行维护使得下一次取出的值也是最大值,最小堆同理。左为最大堆 右为最小堆实现代码如下#include#include#include#define len 1010using na

2016-10-24 08:24:56 364

原创 数据结构 链式存储结构

单链表 单链循环表#include#includeusing namespace std;typedef struct link{ int data; link *next;}link;link *Link = new link;void back_create(link **p,int n){ link *t; t = *p; f

2016-10-22 14:17:57 370

原创 数据结构 线性表

#include#include#define len 1010using namespace std;typedef struct seqlist{ int data[len]; int length;}seqlist;int x;seqlist *insert(seqlist *p,int pos){ for(int i = p->length-

2016-10-19 20:44:19 220

原创 数据结构 二叉搜索树实现

C++ 二叉搜索树实现

2016-10-18 23:11:58 337

原创 POJ1088 滑雪(DP)

DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子  1 2 3 4 516 17 18 19 615 24 25 20 714 2

2016-07-26 21:13:15 227

原创 POJ1458Common Subsequence(LCS)

DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a subsequence of X if there exists a

2016-07-24 19:18:21 220

原创 POJ2533:Longest Ordered Subsequence(LIS)

DescriptionA numeric sequence of ai is ordered ifa1 a2 aN. Let the subsequence of the given numeric sequence (a1,a2, ..., aN) be any sequence (ai1,ai2, ..., aiK), where 1 i1 i2 iK N. For example

2016-07-24 14:29:10 242

原创 POJ 1163:The Triangle(递推)

Description73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that st

2016-07-24 12:28:29 498

空空如也

空空如也

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

TA关注的人

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