这题思路:一开始有n盏灯,且全部为关闭状态,都记为 0 就是 The initial condition : 0 0 0 0 0 …然后之后进行i操作就是对这些灯以是否能被i整除,进行改变状态,如将 0 改为 1 或 将 1 改为 0正如提醒里的After the first operation :...
分类:
其他好文 时间:
2014-07-19 21:00:51
阅读次数:
198
SqlServer 2008“Msg 1807, Level 16, State 3, Line 1Could not obtain exclusive lock on database ‘model’. Retry the operation later.Msg 1802, Level 16, S...
分类:
数据库 时间:
2014-07-19 17:28:23
阅读次数:
1153
python2.7 python3.2差别还是蛮大的,就想着学习较新的 升级后
结果出现 输入法不显示 update-manager 和 add-apt-repository不能用,android的模拟器也打不开。前面三几个问题直接把python ls到原来的2.7版本就可以直接解决,但是最后的一个问题android模拟器无法打开 折腾了好久才解决,写此以记录
问题如下:fglrxinfo
X Error of failed request: BadRequest (invalid r...
分类:
移动开发 时间:
2014-07-18 23:09:55
阅读次数:
372
DescriptionYou haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each ...
分类:
其他好文 时间:
2014-07-18 18:22:11
阅读次数:
263
1.关闭selinux[root@localhost~]#setenforce02.安装FedoraEPEL[root@localhost~]#yuminstall-yhttp://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm3.安装docker[root@localhost~]#yuminstall-ydocker-io[root@localhost~]#yuminstall-ydocker4.下载官..
分类:
其他好文 时间:
2014-07-18 13:22:38
阅读次数:
232
Faced with the upcoming exam, Some useful methods referred to file operation drew tremenous attention. Now I make a summary to reading file.
import java.io.BufferedReader;
import java.io.BufferedWri...
分类:
其他好文 时间:
2014-07-18 12:26:25
阅读次数:
274
原因:在对远程表增删改操作的时候,调用了本地函数。 比如:insert into trans_load_rate@DC values(rate_s(1)); trans_load_rate是DC库的表,rate_s函数是本地库的函数,执行上面这条sql的时候,就会报ora-02069解决方法: .....
分类:
其他好文 时间:
2014-07-18 00:17:41
阅读次数:
243
谁是Docker的开发者
我们分析了Docker的容器库并提出两个问题:
1.Docker的贡献者们感兴趣的其他容器库是什么?
2.Docker的贡献者都有哪些人?
在先前的文章中我们回答了第一个问题,本文中我们试图回答第二个问题。
为了解决这件问题,我们从GitHub中下载了Docker容器库,依此寻找Docker项目的贡献者们。正如我们在另一篇文章中所阐述的那样,成为一名贡献者将使你...
分类:
其他好文 时间:
2014-07-17 20:32:56
阅读次数:
369
xilinx ise下载出现以下问题PROGRESS_START - Starting Operation.INFO:iMPACT:583 - '1': The idcode read from the device does not match the idcode in the bsdl Fil...
分类:
其他好文 时间:
2014-07-17 13:01:31
阅读次数:
955
问题:编译Socket时候出现socket bind error:Socket operation on non-socket时间:2014-7-14解决:注意“==”和“=”的优先级,前者是大于后者的,故而在处理一些表达式的时候,注意加括号注意:注意下面标注闪光字体的地方#include #inc...
分类:
其他好文 时间:
2014-07-16 15:21:29
阅读次数:
190