怎么说呢
-_-....委托就是一个存储方法引用的类很简单也不简单^_^...废话不多说了,直接上代码,解释都在代码里头了. 1 /* 2 * Created by
SharpDevelop. 3 * User: llh 4 * Date: 2014/5/12 5 * Time: 17:31...
分类:
其他好文 时间:
2014-05-14 01:47:29
阅读次数:
296
原文地址:mysql慢日志文件分析处理作者:maxyicha
mysql有一个功能就是可以log下来运行的比较慢的sql语句,默认是没有这个log的,为了开启这个功能,要修改my.cnf或者在mysql启动的时候加入一些参数。如果在my.cnf里面修改,需增加如下几行long_query_time
...
分类:
数据库 时间:
2014-05-14 01:35:12
阅读次数:
396
Cut the Sequence
Time Limit: 2000MS
Memory Limit: 131072K
Total Submissions: 8764
Accepted: 2576
Description
Given an integer sequence { an } of length N, you are to ...
分类:
其他好文 时间:
2014-05-13 16:04:29
阅读次数:
267
最短路+01背包
In Action
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 3857 Accepted Submission(s): 1229
Problem Description
...
分类:
其他好文 时间:
2014-05-13 14:39:21
阅读次数:
175
Max Sum of Max-K-sub-sequence
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 5690 Accepted Submission(s): 2059
Problem Description
...
分类:
其他好文 时间:
2014-05-13 11:38:49
阅读次数:
256
// boost_time.cpp : 定义控制台应用程序的入口点。
//made by davidsu33
//2014-5-11
//the usage of posix_time
#include "stdafx.h"
#include
#include
#include
using namespace std;
#define SHOW_VARIABLE(x){ cou...
分类:
其他好文 时间:
2014-05-13 09:12:49
阅读次数:
656
I Love Military Chess
Accepted : 45
Submit : 141
Time Limit : 1000 MS
Memory Limit : 65536 KB
题目描述
陆军棋,又称陆战棋,简称军棋,是中国近代的一种两人棋类,设计根据军队中的军阶。每一方有25枚棋子...
分类:
其他好文 时间:
2014-05-13 08:22:28
阅读次数:
286
环境windows系统需求通过ping监控网络状态解决DOS中添加一个loop循环,以便监控ping状态,并命名一个文件名,注意根据需要给log.txt添加目录。:topecho%time%>>log.txtping-n1IP Address|findstr"TTL">>log.txtgototop注意:命名的文件名称一定不可..
分类:
其他好文 时间:
2014-05-13 03:23:55
阅读次数:
391
#!/usr/bin/envpython#coding:utf8importos,sys,glob,time,MySQLdb,reDIRNAME=os.path.dirname(__file__)OPSTOOLS_DIR=os.path.abspath(os.path.join(DIRNAME,‘..‘))sys.path.append(OPSTOOLS_DIR)fromlibrary.mysqlconfigimportMySQLDConfig,getMyVariablesfromoptparseimport..
分类:
数据库 时间:
2014-05-13 02:46:59
阅读次数:
809
暴力出奇迹。。
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define ll __int64
#define N 42
ll n,m,ans;
ll Gcd(ll x,ll y){
if(x>y)swap(x,y);
while(x){
y%=...
分类:
其他好文 时间:
2014-05-12 23:11:06
阅读次数:
445