摘要:
向php脚本中传参数可以用http GET 方法,比如要向file.php传两个参数v1和v2.则可以这么做file.php?v1=1&v2=2(一个链接而已,直接编辑URL即可传参数了)这样在file.php中要获得v1和v2的值,可以这么做:$v1= $_GET['v1'];$v2= $_GET... 阅读全文
posted @ 2014-08-31 17:04
zmiao
阅读(177)
评论(0)
推荐(0)
摘要:
http://www.simplehitcounter.com/ 阅读全文
posted @ 2014-08-30 17:50
zmiao
阅读(117)
评论(0)
推荐(0)
摘要:
use the existing service:http://www.foxyform.com/ 阅读全文
posted @ 2014-08-30 12:04
zmiao
阅读(101)
评论(0)
推荐(0)
摘要:
http://howtodoinjava.com/2012/10/09/working-with-hashcode-and-equals-methods-in-java/ 阅读全文
posted @ 2014-08-29 08:05
zmiao
阅读(97)
评论(0)
推荐(0)
摘要:
problem: given an array of integers including positive and negative, a target value. find 2 numbers in the array such that the sum of the 2 numbers is... 阅读全文
posted @ 2014-08-27 03:35
zmiao
阅读(128)
评论(0)
推荐(0)
摘要:
Dynamic programming, or the "put shit in a table" technique, is an optimization for certain types of recurrence problems (specifically, those with ove... 阅读全文
posted @ 2014-08-26 10:45
zmiao
阅读(139)
评论(0)
推荐(0)
摘要:
the algorithm is like this: it evenly spreads an integer N over K cells.for i = 0 to K array[i] = N / K # integer division# divide up the remain... 阅读全文
posted @ 2014-08-26 04:47
zmiao
阅读(161)
评论(0)
推荐(0)
摘要:
http://hi.baidu.com/eehuang/item/22283e220437a80d76272cb7 阅读全文
posted @ 2014-08-20 13:19
zmiao
阅读(101)
评论(0)
推荐(0)
摘要:
\d represent any number\D represents everything but a number\s represents any space\S Anything but a space\w Any character\W Anything but a character.... 阅读全文
posted @ 2014-08-20 10:04
zmiao
阅读(172)
评论(0)
推荐(0)
摘要:
Selection:selection is a trivial problem if the input numbers are sorted. If we use a sorting algorithm having O(nlgn) worst case running time, then t... 阅读全文
posted @ 2014-08-19 03:44
zmiao
阅读(270)
评论(0)
推荐(0)
浙公网安备 33010602011771号