码迷,mamicode.com
首页 >  
搜索关键字:times    ( 2480个结果
sql server存储过程简单的使用
--创建存储过程create proc test_proc @date datetimeas select * from t_user where times betweenconvert(datetime,CONVERT(varchar(10),DATEPART(YYYY...
分类:数据库   时间:2014-10-17 23:18:48    阅读次数:236
utime函数
utime函数:对一个文件的访问和修改时间#include int utime( const char *pathname, const struct utimbuf *times ); 返回值:若成功则返回0,若出错则返回...
分类:其他好文   时间:2014-10-17 20:27:46    阅读次数:214
网上投票系统刷票代码
很多网站上的投票依据是ip地址,不同的ip地址一天可投票一次 下面的代码就是利用curl扩展来伪造ip地址 达到无限制投票; $times = $_POST['times']; //投票次数 $url = $_POST['url']; //投票地址[某个选手下方投票按钮的链接] while ($times) { $ip1 = 'X-FORWARDED-F...
分类:其他好文   时间:2014-10-16 12:26:12    阅读次数:163
车厢调度(栈的经典入门题)
车厢调度 Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 65535/32768K (Java/Other) Total Submission(s) : 5   Accepted Submission(s) : 2 Font: Times New Roman | Verdana | Georgia Font Size: ← → ...
分类:其他好文   时间:2014-10-15 13:57:10    阅读次数:279
LeetCode——Single Number II(找出数组中只出现一次的数2)
问题: Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runt...
分类:编程语言   时间:2014-10-14 18:45:39    阅读次数:171
ruby多线程共享对象之线程安全
在进行多线程处理中共享对象,多个线程对同一个对象同时进行修改,有可能出现不一致的状态,使用时要注意。 例子: test.rb x = 0 10.times.map do |i| Thread.new do puts "before (#{ i }): #{ x }" ...
分类:编程语言   时间:2014-10-14 17:19:49    阅读次数:213
HDoj-1875-畅通工程再续-prim算法
畅通工程再续  Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 15   Accepted Submission(s) : 6 Font: Times New Roman | Verdana | Georgia  Font Size:...
分类:编程语言   时间:2014-10-13 18:41:17    阅读次数:238
计算素数的另一种方法
1 ".$times."个素数。";31 ?>
分类:其他好文   时间:2014-10-13 00:43:48    阅读次数:142
批处理批量创建90个用户
rem create90.bat rem 用net user命令创建90用户 for /L %%i in (1,1,9) do net user k0%%i /add /active:yes /expires:never /passwordchg:no /passwordreq:no /times....
分类:其他好文   时间:2014-10-12 19:11:28    阅读次数:157
Number of 1 bits
Brute force solution:Iterate 32 times, each time determining if the ith bit is a ’1′ or not. This is probably the easiest solution, and the interviewe...
分类:其他好文   时间:2014-10-12 06:43:57    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!