/* * 当不涉及验证码的时候 */ //统计游客(未登录)人数$map = array('session_expire'=>array('gt',NOW_TIME),'session_data'=>array('eq',''));$youke = D('Session')->wher...
分类:
其他好文 时间:
2015-01-06 13:40:57
阅读次数:
104
在eclipse启动tomcat时遇到超时45秒的问题:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increa...
分类:
其他好文 时间:
2015-01-06 13:34:45
阅读次数:
145
求连通块 Time?Limit:?1sec????Memory?Limit:256MB Description 输入一个简单无向图,求出图中连通块的数目。 Input ? 输入的第一行包含两个整数n和m,n是图的顶点数,m是边数。1<=n<=100,0<=m<=10000。...
分类:
其他好文 时间:
2015-01-06 12:15:58
阅读次数:
188
/*Boost 对时间和日期的处理 提供了timer和data_time 库*/
//有关timer库提供了简易的度量时间和进度显示的功能可以用于性能测试等需要计时的任务
/*
timer 的三个组件 计时器类timer progress_timer和进度指示类progress_display
timer 可测量时间的流逝,提供毫秒级的计时精确度
#include
#inc...
分类:
其他好文 时间:
2015-01-06 12:00:30
阅读次数:
149
Harry and Christmas tree
Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 70 Accepted Submission(s): 3
问题描述
圣诞节的夜晚,哈利得到一棵圣诞树。这棵...
分类:
其他好文 时间:
2015-01-06 10:12:16
阅读次数:
243
1017 - Exact cover
Time Limit: 15s Memory Limit:
128MB
Special Judge Submissions: 6023 Solved: 3188
DescriptionThere is an N*M matrix with only 0s and 1s, (1 <= N,M <= 1000). An exact cov...
分类:
其他好文 时间:
2015-01-06 10:06:46
阅读次数:
180
Shuffle'm Up
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6143
Accepted: 2880
Description
A common pastime for poker players at a poker table is to shuf...
分类:
其他好文 时间:
2015-01-06 10:06:18
阅读次数:
125
Pots
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10255
Accepted: 4333
Special Judge
Description
You are given two pots, having the volume of A and ...
分类:
其他好文 时间:
2015-01-06 10:03:56
阅读次数:
159
Harry and Christmas tree
Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 213 Accepted Submission(s): 53
Problem Description
In C...
分类:
其他好文 时间:
2015-01-06 10:03:36
阅读次数:
195
python中无论文件是否正常打开,try...finally...都能保证正常关闭,其用法请点击本博客...
分类:
编程语言 时间:
2015-01-06 10:03:28
阅读次数:
150