题目: Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty s ...
分类:
编程语言 时间:
2017-05-28 14:54:13
阅读次数:
121
#triangle-up { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid red; #triang ...
分类:
Web程序 时间:
2017-05-28 09:50:00
阅读次数:
204
P2946 [USACO09MAR]牛飞盘队Cow Frisbee Team 题目描述 After Farmer Don took up Frisbee, Farmer John wanted to join in the fun. He wants to form a Frisbee team f ...
分类:
其他好文 时间:
2017-05-27 15:17:51
阅读次数:
258
原文链接 :http://rox.iteye.com/blog/875078 现在好多链接都打不开了, 原文链接 :http://rox.iteye.com/blog/875078 现在好多链接都打不开了, Ubuntu下一直用NetBeans开发,改了热键为Eclipse的,复制行不管用,一直认为 ...
分类:
系统相关 时间:
2017-05-27 13:32:00
阅读次数:
183
1、打开http://www.fancynode.com.cn/pxcook 2、若未安装,则先安装Adoby AIR软件 3、安装Adoby AIR的时候可能会遇到问题:“Adobe air安装提示出错,管理员不允许安装” 的问题! 4、百度搜索Windows Installer Clean Up ...
分类:
其他好文 时间:
2017-05-27 13:30:34
阅读次数:
249
分享yii的一段有用的代码:当需要让数据库某字段自增时,比如统计每天的查询量,每次请求后都把request_count+1,如果这样写: $model->request_count++; $flag = $model->save();遇到并发时会不准确,可改为: $flag = static::up ...
分类:
数据库 时间:
2017-05-27 13:26:12
阅读次数:
320
错误:在push 到远程仓库是一直提示下列错误,检查了使用status检查了也没有发现错误,最后排查出来是当前分支为((no branch))即右上那个id (┬_┬)。。。。。 原因:出现这个问题的根本原因在于推送的分支没有做commit操作,直接原因是,在idea整合是错误的创建了一个分支*(n ...
分类:
Web程序 时间:
2017-05-27 13:24:32
阅读次数:
16408
传送门 f[i][S] 表示当前集合为 S,最后一个数为 i 的最优解 f[i][S] += f[j][S - i] (j, i ∈ S && j != i && abs(a[i] - a[j]) > k) ——代码 1 #include <cstdio> 2 #include <iostream> ...
分类:
其他好文 时间:
2017-05-27 10:55:36
阅读次数:
194
系统监控 top:是linux下常用的性能分析工具,类型windos任务管理器,5S刷新一次 1、top(top命令)、当前时间、up(当前系统稳定运行时间)、2用户(桌面和终端)、CPU平均负载:一分钟的,十分钟的,十五分钟的 2、Tasks:系统中总共运行的任务数 405 2个运行的 403个睡 ...
分类:
系统相关 时间:
2017-05-27 10:34:00
阅读次数:
216
# Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to... ...
分类:
编程语言 时间:
2017-05-26 19:43:36
阅读次数:
240