码迷,mamicode.com
首页 >  
搜索关键字:do    ( 12356个结果
ASP连接sql server实例解析
1、首先确定自己的iis没有问题2、其次确定自己sqlserver没有问题然后在iis的文件夹wwwroot里,建立一个文件 名为testSqlServer.asp,编写代码例如以下就可以 spt_values行数:"&rs.recordcount&"")'循环结果输出do While not rs...
分类:数据库   时间:2014-08-11 21:12:12    阅读次数:276
lua 快速排序
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
Reorder List
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
sql server 2008 r2 报错
无法启动服务,要求检查数据库和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
JS中offsetTop、clientTop、scrollTop、offsetTop各属性介绍
这里是javascript中制作滚动代码的常用属性页可见区域宽: document.body.clientWidth;网页可见区域高: document.body.clientHeight;网页可见区域宽: document.body.offsetWidth (包括边线的宽);网页可见区域高: do...
分类:Web程序   时间:2014-08-11 11:27:02    阅读次数:265
循环 for   while   do - while
intialization循环变量的初始condition循环条件(满足条件重复执行)increment循环变量的增量4.statement循环体5.while(<#condition#>){<#statements#>}initialization在while之前进行循环变量初始化;之后while后面小郭号里面condition:循环条件,当条件满足时去执行..
分类:其他好文   时间:2014-08-11 03:02:22    阅读次数:288
UVa 10943 - How do you add?
题目:求一个数字n拆成k个数字的拆法数,可以重复,可以有0。 分析:dp,组合数学。             方法1:dp             状态:f(i,j)为 j 拆成 i 个数字的方法数,则有f(i,j)= sum(f(i,k))  { 0 ≤ k ≤ j };             方法2:计数原理             隔板法:C(n+k-1,k-1)= (n+1)(...
分类:其他好文   时间:2014-08-10 21:39:40    阅读次数:284
zoj 1010 (线段相交判断+多边形求面积)
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=10AreaTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeJerry, a middle school.....
分类:其他好文   时间:2014-08-10 21:17:00    阅读次数:404
Linux的进程(一)
启动的配置文件/etc/inittab,修改完配置文件以后 init q立即生效# Default runlevel. The runlevels used by RHS are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single ...
分类:系统相关   时间:2014-08-10 18:26:10    阅读次数:256
HDU4861(Couple doubi)
题目地址:Couple doubi题目大意: 桌上有K个球,有一公式Every ball has a value and the value of ith (i=1,2,...,k) ball is 1^i+2^i+...+(p-1)^i (mod p) 。p是一个素数(3.5.7....)。do....
分类:其他好文   时间:2014-08-10 18:02:10    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!