题目传送门 1 /* 2 DFS:从大到小取模,因为对比自己大的数取模没意义,可以剪枝。但是我从小到大也过了,可能没啥大数据 3 */ 4 /************************************************ 5 Author :Running_T...
分类:
其他好文 时间:
2015-08-03 08:54:43
阅读次数:
163
参考:http://blog.abv.cn/?p=50阿里云CentOS6默认没有启动iptables1、检查iptables状态[root@iZ94jj63a3sZ ~]# service iptables statusiptables: Firewall is not running.[root...
分类:
其他好文 时间:
2015-08-02 15:04:01
阅读次数:
113
题目传送门 1 /* 2 贪心:每次把一个丢掉,选择最小的。累加求和,重复n-1次 3 */ 4 /************************************************ 5 Author :Running_Time 6 Created Time :...
分类:
移动开发 时间:
2015-08-02 15:00:17
阅读次数:
121
刚刚突然发现DB Master1(当前读写)磁盘满了,DB Master2(当前不对外提供写)replication 抛出异常:Relay log write failure:could not queue event from master,并且Slave_IO_Running: No。...
分类:
其他好文 时间:
2015-08-02 00:59:24
阅读次数:
593
scala没有从语法的角度来支持枚举,而是通过定义了一个接口Enumeration来支持的object ExecutorState extends Enumeration{ type ExecutorState = Value val LAUNCHING, LOADING, RUNNING, K.....
分类:
其他好文 时间:
2015-08-01 23:24:57
阅读次数:
198
错误信息Cannot run program "git.exe":CreateProcess error=2,系统找不到指定的文件。解决办法从错误信息就可以知道,WebStorm找不到git.exe的路径。解决办法如下:1、从Github For Windows下载Windows版Github客户点...
分类:
Web程序 时间:
2015-08-01 23:18:50
阅读次数:
703
=================== 优化设置 =========================When you running a highload website with PHP-FPM via FastCGI, the following tips may be useful to yo...
分类:
Web程序 时间:
2015-07-31 23:27:20
阅读次数:
189
appium环境搭建好后,再跑第一个脚本时遇到这个问题:Errors occurred during the build.Errors running builder 'Android Package Builder' on project 'myandroid1'.sun/security/x50...
分类:
其他好文 时间:
2015-07-31 17:51:46
阅读次数:
219
1、应用程序的状态状态如下:Not running 未运行 程序没启动Inactive 未激活 程序在前台运行,不过没有接收到事件。在没有事件处理情况下程序通常停留在这个状态Active 激活 程序在前台运行而且接收到了事件。这也是前台的一个正常的模式Back...
分类:
移动开发 时间:
2015-07-31 14:43:09
阅读次数:
145
oracle知识点-joboracle中的job类似于Linux中的crontab的作用,用于定时执行某些操作相关视图:dba_jobs,user_jobs,all_jobs,dba_jobs_running相关参数:job_queue_processes相关包:dbms_job有关dba_jobs、dba_jobs_running字段的解释:dba_jobs描述数据库中所有的jobdescd..
分类:
数据库 时间:
2015-07-30 23:43:08
阅读次数:
348