spin.js,ruby上使用例子<divid="spinBody">
<div>
<%form_tag"/login",:id=>"login_form"do-%>
<tablewidth="100%"cellpadding="3"style="margin-top:15px;">
<tr>
<thstyle="width:80px;"><%=t"a.loginid"%></th>
<td..
分类:
Web程序 时间:
2014-07-28 16:47:24
阅读次数:
294
Description
On a m*m land stationed n troops, numbered from 1 to n. The i-th troop's position can be described by two numbers (xi,yi) (1
Then there are t minutes, in each minute one of the followi...
分类:
其他好文 时间:
2014-07-28 16:25:13
阅读次数:
356
Description
You are working for Macrohard company in data structures department. After failing your previous task about key insertion you were asked to write a new data structure that would be able...
分类:
其他好文 时间:
2014-07-28 16:14:11
阅读次数:
257
//在数字最前端加零,自动补齐5位数
int number=9527;
String numberString = String.format("%05d", number);
System.out.println("numberString="+numberString);...
分类:
其他好文 时间:
2014-07-28 16:05:53
阅读次数:
246
静态区间第K大,主席树写法。
主席树第一题,如果对整段区间建线段树可以求1~n范围内的第K大,要想求任意区间内的第K大需要建1~i 的n棵线段树。求某一段的时候区间相减就可以了。但是这样空间消耗太大所以要尽量利用以前的节点。注意到1~i的线段树和i~i+1的线段树只某一条链上的值不同,所以我们只要建出这一条链就可以了,剩下的节点和1~i+1的线段树是一样的,我们直接把节点指过去。
T[ ......
分类:
其他好文 时间:
2014-07-28 15:56:43
阅读次数:
270
Problem Description
A project manager wants to determine the number of the workers needed in every month. He does know the minimal number of the workers needed in each month. When he hires or fires...
分类:
其他好文 时间:
2014-07-28 15:44:23
阅读次数:
284
public class Number { int count; public void method01(){ // int count=3; count=3; // this.count=3; System.out.println(count); } public static void mai...
分类:
其他好文 时间:
2014-07-28 15:25:23
阅读次数:
230
Oracle可以将联机日志文件保存到多个不同的位置,将联机日志转换为归档日志的过程称之为归档。相应的日志被称为归档日志。一、归档日志是联机重做日志组文件的一个副本包含redo记录以及一个唯一的log sequence number对日志组中的一个日志文件进行归档,如果该组其中一个损坏,则另一个可用的...
分类:
数据库 时间:
2014-07-28 14:56:33
阅读次数:
320
表格 —— 默认样式重置 表格标签: table 表格 thead 表格头 tbody 表格主体 tfoot 表格尾 tr 表格行 th 元素定义表头 td 元素定义表格单元 表格样式重置 table{border-collapse:collapse...
分类:
Web程序 时间:
2014-07-28 11:31:30
阅读次数:
219
CiscoCatalyst2960,3750G交换机12.2版本的ios默认关闭ipdevicetracking.但是CiscoCatalyst2960s和3750x交换机升级到15.2的版本后,默认已开启ipdevicetracking,而且全局模式下无法关闭它,如果不关闭的话,在级联的trunk端口上我们showmacadd,可以看到这样的情形,对端交换..
分类:
其他好文 时间:
2014-07-28 00:40:20
阅读次数:
189