说到网站安全就不得不提到SQL注入(SQL Injection),如果你用过ASP,对SQL注入一定有比较深的理解,PHP的安全性相对较高,这是因为MYSQL4以下的版本不支持子语句,而且当php.ini里的 magic_quotes_gpc 为On 时。提交的变量中所有的 ' (单引号), ".....
分类:
数据库 时间:
2014-12-11 15:44:09
阅读次数:
206
Squares
Time Limit: 3500MS
Memory Limit: 65536K
Total Submissions: 16615
Accepted: 6320
Description
A square is a 4-sided polygon whose sides have equal length and adja...
分类:
其他好文 时间:
2014-12-10 22:52:54
阅读次数:
219
2553: [BeiJing2011]禁忌Time Limit: 20 SecMemory Limit: 128 MBSecSpecial JudgeSubmit: 203Solved: 75[Submit][Status]Description Magic Land上的人们总是提起那个传说:他们的...
分类:
其他好文 时间:
2014-12-09 19:35:43
阅读次数:
576
题目描述
Problem D: Knight's Trip
In chess, each move of a knight consists of moving by two squares horizontally and one square vertically, or by one square horizontally and two squares vertically....
分类:
其他好文 时间:
2014-12-09 14:03:08
阅读次数:
617
NG的课件1,引出常用的优化方法梯度下降法(gradient descent) 对于 ordinary least squares regression, cost function为 求最小值,意味着求导数为0的位置 考虑只有一个样本 这叫做LMS update rule (Least Mean ...
分类:
其他好文 时间:
2014-12-09 08:11:49
阅读次数:
330
题目链接:http://poj.org/problem?id=2002A square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a ...
分类:
其他好文 时间:
2014-12-05 22:34:16
阅读次数:
267
提示:前面加*为特别重要typedef struct _IMAGE_DOS_HEADER { // DOS .EXE header WORD e_magic; // Magic number WORD e_cblp; ...
分类:
其他好文 时间:
2014-12-04 23:07:16
阅读次数:
229
DP
magic balls
Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 561 Accepted Submission(s): 168
Problem Description
The town...
分类:
其他好文 时间:
2014-12-04 15:43:38
阅读次数:
170
题意:一颗二叉树,任意节点要么有两个孩子要么没孩子。然后有一个球,从结点1开始往子孙结点走。每碰到一个结点,有三种情况如果此球重量等于该结点重量,球就停下了如果此球重量小于该结点重量,则分别往左右儿子走的可能都是1/2如果此球重量大于该结点重量,则走向左儿子的概率是1/8,右儿子的概率是7/8然后若...
分类:
其他好文 时间:
2014-12-03 23:14:00
阅读次数:
324
Magic Mouse是苹果电脑的专属配件,它的庐山真面目就如题图一样,乍一看觉得除了外形像个鼠标,其它地方貌似都和普通的鼠标格格不入,起码连个最基本的滚轮都没有,但是既然敢叫Magic Mouse,必然有它的magical之处
它是为苹果电脑专门设计,如果你拿着它在windows上打游戏,或者在装了windows系统的Mac上打游戏,然后吐槽它不好用,那我只能送上一句呵呵,这种事貌似只有土...
分类:
其他好文 时间:
2014-12-03 14:15:41
阅读次数:
488