At the first sight of the problem, I misunderstood it as sort the former part of the list and then keep the original order of those nodes in the large...
分类:
其他 时间:
2016-01-24 09:13:43
收藏:
0 评论:
0 赞:
0 阅读:
239
package dataStructure;import java.util.ArrayList;import java.util.Scanner;import java.io.*;class node { int to, dist; node(int t, int d) { ...
分类:
编程语言 时间:
2016-01-24 09:13:34
收藏:
0 评论:
0 赞:
0 阅读:
319
转载于: http://toutiao.com/news/6242781162012410370/一、Firefox 插件之 Firebug, 火狐调试利器【初学必备】为什么要第一个提到火狐呢?因为啊,这东西确实是太方便了,刚开始接触开发那会儿,根本都不知道调试,只是凭着感觉去做事。后来看到有人在用...
分类:
Web开发 时间:
2016-01-24 09:13:23
收藏:
0 评论:
0 赞:
0 阅读:
269
參考资料:自己动手写操作系统(于渊)开发环境:Virtual Box。Bochs;NASM ORG 07c00h mov ax,cs mov ds,ax mov es,ax call DispStr jmp $DispStr: mov ax,BootMessage mov bp,ax mov cx,...
分类:
其他 时间:
2016-01-24 09:13:13
收藏:
0 评论:
0 赞:
0 阅读:
166
语句: 一:分支语句 1.if(条件1){满足条件1执行} 2.if(条件1){满足条件1执行}else{不满足条件1执行} 3.if(条件1){满足条件1执行}else if(条件2){满足条件2执行}else{不满足条件1和条件2执行} 4.if的嵌套 5.switch....case $a ....
分类:
Web开发 时间:
2016-01-24 09:13:04
收藏:
0 评论:
0 赞:
0 阅读:
163
Screen是一个可以在多个进程之间多路复用一个物理终端的窗口管理器,这意味着你能够使用一个单一的终端窗口运行多终端的应用。 Screen中有会话的概念,用户可以在一个screen会话中创建多个screen窗口,在每一个screen窗口中就像操作一个真实的 telnet/SSH连接窗口那样。安装方法...
分类:
系统服务 时间:
2016-01-24 09:12:43
收藏:
0 评论:
0 赞:
0 阅读:
210
步骤具体解释: 1:到fedora官网下载fedora的DVD镜像文件。 2:在linux系统中预留一部分为未分区的空间大约50G 3: 在linux系统上的根分区创建一个fedora的目录,里面存放fedora的DVD镜像文件. 4: 在linux系统中挂载fedora的DVD镜像,拷贝当中i.....
分类:
其他 时间:
2016-01-24 09:12:24
收藏:
0 评论:
0 赞:
0 阅读:
244
科技如何帮助公司发展,关键就在于保证IT系统的安全稳定运行。我们都知道要保证系统100%可用非常难实现,那么如何在系统故障时减少处置时间?一个有效的办法就是帮助台(Help Desk)。那么什么是帮助台?它又是如何来运作的?帮助台(Help Desk)是为IT系统用户设计的一个资源渠道,用户在遇到I...
分类:
其他 时间:
2016-01-24 09:12:13
收藏:
0 评论:
0 赞:
0 阅读:
175
对大一下的自我目标时光流逝,如白驹过隙,大一的第一个学期就这样过去了。从刚开学时对自己所学专业的懵懵懂懂到现在的已经能自己敲出代码,一个初学者的姿态已经随着这学期的结束而消失。许多人觉得代码好难,我也这样想过,但是我想只要花足够的时间去学习,去认真思考,那么那些所谓的难题也会迎刃而解吧!这学期的C语...
分类:
其他 时间:
2016-01-24 09:12:03
收藏:
0 评论:
0 赞:
0 阅读:
149
#include#include#define N 21;typedef struct Point{ int data; struct Point *next;}Node,*pNode;int main(){ void create(pNode); void separate...
分类:
其他 时间:
2016-01-24 09:11:53
收藏:
0 评论:
0 赞:
0 阅读:
303
/*Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - th...
分类:
其他 时间:
2016-01-24 09:11:43
收藏:
0 评论:
0 赞:
0 阅读:
106
new:int *a = new int[size];int **a = new int*[size];运算符重载:class Complex{ public: int a,b;};Complex operator+(Complex &x, Complex &y){ // x+y...
分类:
编程语言 时间:
2016-01-24 09:11:33
收藏:
0 评论:
0 赞:
0 阅读:
141
题目链接平衡树系列第二题轩神的split还是这么好写%%%还是要注意虚拟结点 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 ...
分类:
其他 时间:
2016-01-24 09:11:30
收藏:
0 评论:
0 赞:
0 阅读:
257
前言很长一段时间没写博客了,再不写点东西真说不过去,把工作上的一些有价值的东西整理出来分享,在当下还有点时效性,不然迟早会烂在肚子里的。还记得之前小巫有个开源计划是想实现一个星期开发app,现在把它拾起来,计划没有实行起来跟我那懒惰的身躯有关,任何伟大的事情都需要强大的执行力才能实现,慢一点没关系,能创造点东西就是值得的事情。本篇博客先介绍一个app最常见的特性,就是新功能属性介绍和启动屏,一般会怎...
分类:
移动平台 时间:
2016-01-24 08:09:40
收藏:
0 评论:
0 赞:
0 阅读:
194
这样的组合可以快速的让你开始接口测试,一起来看看这个小儿美的接口测试工具吧
Postman-录制Case安装PostmanPostman现在是一个单独的App,以前是Chrome的一个插件,现在单独出来了。下载完Postman后,安装Postman Interceptor记得一定要安装Postman Interceptor插件,这样在chrome浏览器上访问的信息都会在postman的app端同步显...
分类:
其他 时间:
2016-01-24 08:09:24
收藏:
0 评论:
0 赞:
0 阅读:
396
本题中,三个桶,因此就是6种:A->B A->C B->A B->C C->A C->B。所有转移都考虑一遍即可。以A->B来说,这样转移之后状态是什么呢?A的牛奶数应该是max(0, a+b-B),其中a,b是A和B桶中原来牛奶的数量,A,B是A和B桶的容量。B的牛奶数是min(a+b, B),其...
分类:
其他 时间:
2016-01-24 08:08:53
收藏:
0 评论:
0 赞:
0 阅读:
281
题目链接splay练手题轩神教了我神奇的split:返回需要提取的一段区间的root注意在两端开了两个虚拟结点 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #includ...
分类:
其他 时间:
2016-01-24 08:08:43
收藏:
0 评论:
0 赞:
0 阅读:
359
First we need to get the head node, use a boolean value to mark whether we find a new head or not. When we traverse the linked list,if(cur.val != cur....
分类:
其他 时间:
2016-01-24 08:08:33
收藏:
0 评论:
0 赞:
0 阅读:
146
/*** Return the smallest character that is strictly larger than the search character,* If no such character exists, return the smallest character in t...
分类:
其他 时间:
2016-01-24 08:08:29
收藏:
0 评论:
0 赞:
0 阅读:
126
分类:
其他 时间:
2016-01-24 07:06:24
收藏:
0 评论:
0 赞:
0 阅读:
134