20145326蔡馨熤《网络对抗》—— Web安全基础实践 1.实验后回答问题 (1)SQL注入攻击原理,如何防御. 原理: SQL注入攻击指的是通过构建特殊的输入作为参数传入Web应用程序,而这些输入大都是SQL语法里的一些组合,通过执行SQL语句进而执行攻击者所要的操作,其主要原因是程序没有细致 ...
分类:
Web程序 时间:
2017-05-12 01:37:12
阅读次数:
331
题目链接: http://poj.org/problem?id=3233 题意: 给你A矩阵,A矩阵是n*n的一个矩阵,现在要你求S = A + A^2 + A^3 + … + A^k.那么s一定也是一个N*N的矩阵,最后要你输出s,并且s的每一个元素对m取余数 思路: 令Sk-1=I+A+A^2+ ...
分类:
其他好文 时间:
2017-05-10 19:49:39
阅读次数:
175
There is a square matrix n?×?n, consisting of non-negative integer numbers. You should find such a way on it that starts in the upper left cell of the ...
分类:
其他好文 时间:
2017-05-10 18:54:07
阅读次数:
203
http://acm.hdu.edu.cn/showproblem.php?pid=5386 Problem Description You have an n?n matrix.Every grid has a color.Now there are two types of operating: ...
分类:
其他好文 时间:
2017-05-10 11:26:42
阅读次数:
258
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. ...
分类:
其他好文 时间:
2017-05-09 15:48:26
阅读次数:
139
题目:http://acm.hdu.edu.cn/showproblem.php?pid=5318 题意:给定n个数字串和整数m,规定若数字串s1的后缀和数字串s2的前缀同样且长度≥2,则s2能够拼接在s1的后面,每一个串能够反复用,问拼接m个数字串有多少种方法。n<=50,m<=1e9 分析:定义 ...
分类:
其他好文 时间:
2017-05-09 12:47:46
阅读次数:
197
https://leetcode.com/problems/reshape-the-matrix/#/description ...
分类:
其他好文 时间:
2017-05-09 12:36:46
阅读次数:
126
There is a square matrix n?×?n, consisting of non-negative integer numbers. You should find such a way on it that starts in the upper left cell of the ...
分类:
其他好文 时间:
2017-05-08 23:29:49
阅读次数:
411
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16202 Accepted: 4349 Description Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i < M, 0 ≤ j < N), ...
分类:
其他好文 时间:
2017-05-08 19:21:26
阅读次数:
216
Android app;仿微信 测试矩阵(Text Matrix) ...
分类:
其他好文 时间:
2017-05-08 12:29:56
阅读次数:
164