python对文件的读写还是挺方便的,与linux shell的交互变量需要转换一下才能用,这比较头疼! 1 #coding=utf-8 2 #!/usr/bin/python 3 import os 4 import time 5 #python执行linux命令 6 os.system(':>....
分类:
编程语言 时间:
2015-01-13 12:02:00
阅读次数:
151
沼跃鱼早已看穿了一切Time Limit:1 SecMemory Limit:128 MBSubmit:593Solved:229[Submit][Status][Web Board]Description沼跃鱼打开密码门后发现门后是一个像迷宫一样的房间,墙上的指示牌写着:房间内某处有一宝箱,但是宝...
分类:
编程语言 时间:
2015-01-13 11:53:41
阅读次数:
192
Antenna Placement
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6930
Accepted: 3439
Description
The Global Aerial Research Centre has been allotted the...
分类:
其他好文 时间:
2015-01-13 10:37:19
阅读次数:
159
Rightmost Digit
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 35128 Accepted Submission(s): 13337
Problem Description
Given a positi...
分类:
Web程序 时间:
2015-01-13 10:36:02
阅读次数:
263
Climbing Worm
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 13174 Accepted Submission(s): 8878
Problem Description
An inch worm is...
分类:
其他好文 时间:
2015-01-13 10:31:29
阅读次数:
133
Winner
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
The winner of the card game popular in Berland "Berlogging" is determined ac...
Hello Guys, it's time to take an hypothetical question in Javarevisited. Which programming book, would you love to buy, if you are given 100$ to spend...
分类:
其他好文 时间:
2015-01-13 06:40:53
阅读次数:
169
\plus\download.php174行插入以下代码 if($cfg_ml->M_Rank>$needRank)
{
$inquery="INSERTINTO`#@__member_operation`(mid,oldinfo,money,mtime,buyid,product,pname,sta)
VALUES(‘".$cfg_ml->M_ID."‘,‘$arctitle‘,‘$needMoney‘,‘".time()."‘,‘ARCHIVE".$id."‘,..
分类:
其他好文 时间:
2015-01-13 01:34:11
阅读次数:
176
mysql慢查询的一些设置1)查看mysql是否开启慢查询日志showvariableslike‘slow_query_log‘;2)设置没有索引的记录到慢查询日志setgloballog_queries_not_using_indexes=on;3)查看超过多长时间的sql进行记录到慢查询日志showvariableslike‘long_query_time‘4)开启慢查询日志setglo..
分类:
数据库 时间:
2015-01-13 01:30:35
阅读次数:
204
LeetCode172——Factorial Trailing Zeroes
Given an integer n, return the number of trailing zeroes in n!.
Note: Your solution should be in logarithmic time complexity.
难度系数:容易
题目大意:给定一个整数n,...
分类:
其他好文 时间:
2015-01-13 01:27:55
阅读次数:
142