题目:
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the...
分类:
其他好文 时间:
2015-05-04 18:20:31
阅读次数:
156
目前需要使用ant来执行一个含有main方法的class文件,并且需要通过命令来行传两个参数(start和end)到main方法。 1 2 3 4 5 6 7 8 9 10 11 12 这样执行ant gsp -Dsta...
分类:
其他好文 时间:
2015-05-04 17:25:51
阅读次数:
105
zabbix监控lvs首先,我们在安装lvs的机器上安装zabbixagent,在agent的配置文件中添加自定义UserParameter=lvs.all,sudo/sbin/ipvsadm-L-n|awk‘{print$6}‘|awk‘BEGIN{sum=0}{sum+=$1}END{printsum}‘#获取lvs的总处理请求数UserParameter=lvs.192.168.1.2,sudo/sbin/ipvsadm-L-n|..
分类:
其他好文 时间:
2015-05-04 15:57:31
阅读次数:
183
http://www.cnblogs.com/eshizhan/archive/2012/04/06/2435493.html
1. case when表达式的两种形式:
--简单Case函数
CASE sex
WHEN '1' THEN '男'
WHEN '2' THEN '女'
ELSE '其他' END
--Case搜索函数
CASE
WHEN sex ...
分类:
数据库 时间:
2015-05-04 15:33:01
阅读次数:
116
sha1(); 40位sha(); 40位md5(); 32位password(); 41位case when then end 的用法select sname 姓名,sscore 成绩,case when sscore is null then '补考'when sscore>=90 then '...
分类:
数据库 时间:
2015-05-04 06:22:58
阅读次数:
134
0. 准备工作:set serveroutput onhellowrold 程序begindbms_output.put_line('hello world');end;/[语法格式]--declare --声明的变量、类型、游标begin --程序的执行部分(类似于java里的main()方法) ...
分类:
其他好文 时间:
2015-05-04 00:58:44
阅读次数:
295
local TestScene1 = class("TestScene1", function() return display.newScene("TestScene1")end)function TestScene1:ctor() cc(self):addComponent("com...
分类:
其他好文 时间:
2015-05-03 23:35:30
阅读次数:
207
1.在学习c语言,难免会遇到多参函数,刚好c中也提供了一些机制:宏函数#ifdef _M_ALPHAtypedef struct {char *a0; /* pointer to first homed integer argument */int offset; /* byte offset of...
分类:
其他好文 时间:
2015-05-03 20:34:47
阅读次数:
149
一、前导程序新建一个项目,在主控制器文件中实现以下几行代码,就能轻松的完成图片在视图中的平铺。 1 #import "YYViewController.h" 2 3 @interface YYViewController () 4 5 @end 6 7 @implementation YYVi...
分类:
移动开发 时间:
2015-05-03 18:58:32
阅读次数:
148
#include #include int main(){ int a[10] = {0}; int i; int j = 0; int temp; int start = 0; int end = 9; printf("please input the a...
分类:
编程语言 时间:
2015-05-03 18:53:21
阅读次数:
126