Nginx防盗链首先进入到/usr/local/nginx/conf/vhost/目录下,编辑配置文件vimtest.com.confvimtest.com.conf然后如数如下内容location~^.+.(gif|jpg|png|swf|flv|rar|zip|doc|pdf|gz|bz2|jpeg|bmp|xls)${expires7d;valid_referersnoneblockedse
分类:
Web程序 时间:
2018-04-27 02:36:05
阅读次数:
275
数独问题 https://github.com/1120161897tangzhangqi/sudoku(github网址) 开发时间 PSP2.1 Personal Software Process Stages 预估耗时(分钟) 实际耗时(分钟) Planning 计划 · Estimate · ...
分类:
其他好文 时间:
2018-04-23 00:14:16
阅读次数:
154
题目:有效的括号序列 难度:Easy 题目内容: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An inp ...
分类:
编程语言 时间:
2018-04-22 19:54:31
阅读次数:
164
(1)GitHub地址:https://github.com/as5290/sudoku (2) PSP2.1 Personal Software Process Stages 预估耗时(分钟) 实际耗时(分钟) Planning 计划 · Estimate · 估计这个任务需要多少时间 10 De ...
分类:
其他好文 时间:
2018-04-22 00:04:49
阅读次数:
197
1.GitHub地址:https://github.com/Fionayxy/sudoku 2. 3.解题思路 看到题目后毫无头绪,尤其是对命令行、GitHub等毫无了解而且对C++了解甚少,C#完全不会,因此一拖再拖。 后来在查询了main函数的参数意义,如何使用C++创建或打开本地文件、编辑文件 ...
分类:
其他好文 时间:
2018-04-20 00:07:36
阅读次数:
215
性能分析图: 性能非常差,输入1000000需要很长时间才有结果,负责写入文件的put()和puts()函数可以将fprintf(...)函数改为fputc(),fputc()比fprintf()更节省时间。生成数独终局的Permutation(),sudoku()和解数独的dfs()我觉得已经没法 ...
分类:
其他好文 时间:
2018-04-18 21:14:15
阅读次数:
192
Chapter Review 1 a. b. c. d. 2 a. b. c. d. 3 4 5 `cout size; int dyn = new int [size]; vector dv(size); 14 Yes, it is valid. The expression "Home of t ...
分类:
编程语言 时间:
2018-04-17 00:04:13
阅读次数:
205
软件工程基础-个人项目-sudoku游戏] cnblob项目地址 https://github.com/dinodeahonf/Sudoku 解题思路 其目标是用数字填充9×9网格,以便组成网格的9个3×3子网格(也称为“盒”,“块”或“区域”)中的每列,每行和每一个包含所有的数字从1到9.这个益智 ...
分类:
编程语言 时间:
2018-04-16 20:34:38
阅读次数:
223
Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except for the fi ...
分类:
其他好文 时间:
2018-04-14 12:39:05
阅读次数:
161
对于指令的判断: 首先整个项目的指令集总共两个:sudoku.exe -c xxx Sudoku.exe -s xxx 那么判断指令是否正确也就变得简单了,首先argc一定为三,只要argc!=3那么指令一定不符合要求,其次,-c代表得到要求个数的输入终局,如果其后面的数字小于0,那么肯定是错的,而 ...
分类:
其他好文 时间:
2018-04-12 23:27:36
阅读次数:
180