最近项目中使用了DataTables,故小结了一下。导入CSS文件/js/datatable/css/jquery.dataTables.min.css"/>导入JS文件后台ajax请求:var url = "getSj.do";var dataTable;var options = { "bPag...
分类:
其他好文 时间:
2014-08-12 10:10:53
阅读次数:
193
import java.util.Arrays;/* * 二分查找 */public class BinarySearch { /* * while循环 */ public static int binarySearch(int[] ls, int su) { ...
分类:
其他好文 时间:
2014-08-12 00:30:13
阅读次数:
186
偶尔机会接触到了它。由网上的知识总结了一个小代码。希望,对大家有用。- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.title...
分类:
其他好文 时间:
2014-08-11 23:49:13
阅读次数:
260
PX Deq: Execution Msg
Occurs when a parallel slave is waiting to be told what to do. This is normally considered an idle event, but can cause excessive CPU
in some cases.
Solution
Reduc...
分类:
其他好文 时间:
2014-08-11 21:38:52
阅读次数:
485
http://poj.org/problem?id=2549
维基百科有3Sum算法:https://en.wikipedia.org/wiki/3SUM
sort(S);
for i=0 to n-3 do
a = S[i];
k = i+1;
l = n-1;
while (k<l) do
b = S[k];
c = ...
分类:
其他好文 时间:
2014-08-11 21:23:53
阅读次数:
356
1、首先确定自己的iis没有问题2、其次确定自己sqlserver没有问题然后在iis的文件夹wwwroot里,建立一个文件 名为testSqlServer.asp,编写代码例如以下就可以 spt_values行数:"&rs.recordcount&"")'循环结果输出do While not rs...
分类:
数据库 时间:
2014-08-11 21:12:12
阅读次数:
276
function quick_sort(list, head, tail) if tail > head then i = head j = tail tmp = list[i] --取第一个元素用于比较 同时腾出第一个位置 while i i do if list[j] tmp then li.....
分类:
其他好文 时间:
2014-08-11 20:59:12
阅读次数:
274
51)){exit("黑化肥挥发发灰会花飞;灰化肥挥发发黑会飞花 。");}elseif( ($b == 2) && ($xh > 101)){exit("黑化肥挥发发灰会花飞;灰化肥挥发发黑会飞花 。");}elseif( ($b == 3) && ($xh > 151)){exit("黑化肥挥....
分类:
Web程序 时间:
2014-08-11 14:49:32
阅读次数:
272
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For e...
分类:
其他好文 时间:
2014-08-11 14:44:32
阅读次数:
186
无法启动服务,要求检查数据库和windows日志查看发现报错The SQL Server failed to initialize VIA support library [QLVipl.dll]. This normally indicates the VIA support library do...
分类:
数据库 时间:
2014-08-11 11:54:02
阅读次数:
222