http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4744Escape Time IITime Limit: 2 Seconds Memory Limit: 65536 KBThere is a fire in LTR ’ s h....
分类:
其他好文 时间:
2014-08-30 12:30:29
阅读次数:
262
Description
Problem L
Arif in Dhaka (First Love Part 2)
Input: standard input
Output: standard output
Time Limit: 2 seconds
Our hero Arif is now in Dhaka (Look at problem
10244 – Fir...
分类:
其他好文 时间:
2014-08-30 11:17:29
阅读次数:
212
rick 的两个ppt整理下载:2012 2013 ,使用半年erlang后,重新看这两个ppt才发现更多值的学习的地方,从ppt中整理如下:- Prefer os:timestamp to erlang:now 应该禁止使用erlang:now(),稍微用得多,整个node的%si 飙满,且整体性...
分类:
移动开发 时间:
2014-08-30 01:10:28
阅读次数:
453
问题表述:设有n个活动的集合E={1,2,…,n},其中每个活动都要求使用同一资源,如演讲会场等,而在同一时间内只有一个活动能使用这一资源。每个活i都有一个要求使用该资源的起始时间si和一个结束时间fi,且si=fj或sj>=fi时,活动i与活动j相容。由于输入的活动以其完成时间的非减序排列,所以算...
分类:
其他好文 时间:
2014-08-29 23:50:48
阅读次数:
345
There is a fire in LTR ’ s home again. The fire can destroy all the things in
t seconds, so LTR has to escape in t seconds. But there are some jewels in LTR ’ s rooms, LTR love jewels very much so h...
分类:
其他好文 时间:
2014-08-29 22:45:58
阅读次数:
308
KMP算法是一种改进的字符串匹配算法。适用于模式串P有循环重复段的情况下。原理:主串 S:S1, S2, …, …, …, …, …, …, Si-k+1, …, Si-1, Si模式串P:(P1, P2, …, Pk-1,) Pk, …, (Pj-k+1, …, Pj-1,) PjPj与Si不匹配...
分类:
其他好文 时间:
2014-08-29 17:59:38
阅读次数:
187
Factorial Problem in Base KTime Limit: 2 Seconds Memory Limit: 65536 KBHow many zeros are there in the end of s! if both s and s! are written in base ...
分类:
其他好文 时间:
2014-08-29 17:46:10
阅读次数:
270
$\bf命题:$设$\sigma \in L\left( {V,n,C} \right)$,${f_\sigma }\left( \lambda \right)$是$\sigma$的特征多项式,且$\left( {{f_\sigma }\left( \lambda \right),{{f'}_\si...
分类:
其他好文 时间:
2014-08-29 10:45:47
阅读次数:
233
Transform变形:可以实现文字或者图片旋转、缩放、倾斜和移动,并且该元素下的所有子元素都随着父元素一样。既然接触到transform,我们就可以做好多3d的效果啦旋转:transform:rotate(角度deg)deg是css3的“Values and Units”模块中定义的一个角度单位....
分类:
Web程序 时间:
2014-08-28 17:51:55
阅读次数:
237
POJ 3436 ACM Computer Factory
链接:http://poj.org/problem?id=3436
题意:每台电脑有P部分,可以通过不同的机器来进行加工。有N台机器,每台机器用2 P +1 个整数来描述:Qi Si,1 Si,2 ... Si,p Di,1 Di,2. .. Di,p,其中Qi 指定了机器的性能,表示每小时加工的电脑数量。Si,j...
分类:
其他好文 时间:
2014-08-28 16:16:20
阅读次数:
217