空间属性置顶:属性说明change事件,当控件改变时触发nestable方法,获取顺序JSON数据,形式如下:[{"id":1},{"id":2},{"id":3,"children":[{"id":4},{"id":5}]}] 今天,有个刚毕业的同事要做一个“排序出港”的功能,看了他用的控件...
分类:
Web程序 时间:
2014-08-29 19:54:08
阅读次数:
896
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Candy
Total Accepted: 16494 Total
Submissions: 87468My Submissions
There are N children standing in a line. Each child is ...
分类:
其他好文 时间:
2014-08-29 02:54:17
阅读次数:
228
1 Candy题目:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the follo...
分类:
其他好文 时间:
2014-08-28 16:08:29
阅读次数:
294
原题戳我There are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following...
分类:
其他好文 时间:
2014-08-28 12:59:49
阅读次数:
254
注意!这不是单纯的字典序排序,比如90、9,应该是990最大对字符串排序蛋疼了好久,因为别人说string很慢,所以一直没有用过。看别人用string还是比较方便的,学习一下对了,这里的cmp函数写的还是很简洁的,比我写的要好得多 1 #define LOCAL 2 #include 3 #inc....
分类:
其他好文 时间:
2014-08-28 12:53:09
阅读次数:
225
如获取id为divId的div下的第一个子div$("#divId").children("div").get(0)但得到的是一个dom对象,如果要得到Jquery对象,要使用$($("#divId").children("div").get(0))
分类:
Web程序 时间:
2014-08-27 10:53:07
阅读次数:
243
原题戳我There are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following...
分类:
其他好文 时间:
2014-08-25 22:46:14
阅读次数:
307
#include #include#includeusing namespace std;int n,m;int r[4][2]= {{0,-1},{1,0},{0,1},{-1,0}};int l[4][2]= {{0,1},{1,0},{0,-1},{-1,0}};int vis[50][50]...
分类:
其他好文 时间:
2014-08-25 20:48:44
阅读次数:
200
Candy
Total Accepted: 16107 Total
Submissions: 85614My Submissions
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these c...
分类:
其他好文 时间:
2014-08-24 16:44:32
阅读次数:
182
LeetCode: CandyThere are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to th...
分类:
其他好文 时间:
2014-08-23 15:09:00
阅读次数:
157