python 3.x 不再提供raw_input(), 改为使用input(), print 改为 print(),print 无括号形式不能再使用.>>> raw_input('input name:');Traceback (most recent call last): File "", li...
分类:
编程语言 时间:
2014-11-02 17:49:06
阅读次数:
217
shutdown abort模式
丢失redo log
无法open数据库
通过告警报错ORA-00354: corrupt redo log block header 从该错误可以看出当前日志的redo block的header出现问题,导致oracle无法读取redo进行恢复。通过以下检查发现数据库文件头都一致,没有需要恢复的文件,但是由于数据库是非正常关闭,last_change sc...
分类:
其他好文 时间:
2014-11-01 19:14:14
阅读次数:
246
Transfer waterTime Limit: 5000/3000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others) 【Problem Description】XiaoA lives in a village. Last year...
分类:
其他好文 时间:
2014-11-01 17:38:35
阅读次数:
253
1. 通过自增的键auto_increment取得。[sql] view plaincopyselectmax(id)fromtablename这种做法需要考虑并发的情况,需要在事务中对主表加以“X锁“,待获得max(id)的值以后,再解锁。2. 使用使用select last_insert_id(...
分类:
数据库 时间:
2014-11-01 06:15:30
阅读次数:
244
-!1. Greedy vs. DP:http://blog.csdn.net/yelbosh/article/details/7649717. Multiple choices or not:Greedy has only 1 optimal last choice; DP picks the ....
分类:
其他好文 时间:
2014-11-01 06:11:19
阅读次数:
217
获取插入数据库的数据,截取Evidence时,很必要。...
分类:
数据库 时间:
2014-11-01 01:05:35
阅读次数:
289
What a find! Anna Locke has just bought several links of chain some of which may be connected. They are made from zorkium, a material that was frequently used to manufacture jewelry in the last centur...
分类:
其他好文 时间:
2014-10-31 01:15:29
阅读次数:
242
#include #include #include #define range(i,a,b) for (int i=a;i=val) { last = c; ans++; } return ans >= m;}int m...
分类:
其他好文 时间:
2014-10-30 20:35:04
阅读次数:
250
28. Length of Last Word' ' = char white space, " " = string需要考虑各种情况 ‘a ’, ' ', ' a'
分类:
其他好文 时间:
2014-10-30 07:05:27
阅读次数:
197
makefile文件:
make 程序是使用Makefile数据文件和代码文件的最后修改时间(last-modification time)来确定那些文件需要进...
分类:
系统相关 时间:
2014-10-30 00:21:45
阅读次数:
183