原题戳我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
--Parent-Child reationship--涂聚文 2014-08-25--得位置的子節點函數表(包含本身)if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetBookPlaceChildren...
分类:
数据库 时间:
2014-08-25 16:59:04
阅读次数:
269
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
试图切换可以用transitionFromViewController。
步骤:
View Controller中可以添加多个sub view,在需要的时候显示出来;
可以通过viewController(parent)中可以添加多个child viewController;来控制页面中的sub view,降低代码耦合度;
通过切换,可以显示不同的view;,替代之前的ad...
分类:
其他好文 时间:
2014-08-24 09:10:52
阅读次数:
144
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
被第二个条件给坑了
You are giving candies to these children subjected to the following requirements:
Each child must have at least one candy.Children with a higher rating get more candies than their ne...
分类:
其他好文 时间:
2014-08-23 11:20:30
阅读次数:
173
1 /***** Selector Hacks ******/ 2 3 /* IE6 and below */ 4 * html #uno { color: red } 5 6 /* IE7 */ 7 *:first-child+html #dos { color: red } 8 ...
分类:
Web程序 时间:
2014-08-22 21:03:49
阅读次数:
311
$(document).ready(something); says: "when the HTML document is ready, do something!"$(document).ready(function() { var $target = $('li:nth-child(4)...
分类:
Web程序 时间:
2014-08-20 09:14:56
阅读次数:
275
table{table-layout:fixed;}table tr td:first-child,table tr td:first-child{width:120px;}首行第一个td定宽同列的宽度都会和他一样.*注意 第一行 第一个用的是 td 还是 th
分类:
Web程序 时间:
2014-08-19 23:43:25
阅读次数:
188
Toy Storage
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 3953 Accepted: 2334
Description
Mom and dad have a problem: their child, Reza, never puts his toys away when he is fi...
分类:
其他好文 时间:
2014-08-19 09:26:53
阅读次数:
245