#include#include#include#include#include#define maxn 100005using namespace std;queue q;int step[maxn];int visit[maxn];int n,k;int head,next;int bfs(){...
分类:
其他好文 时间:
2014-11-17 15:33:46
阅读次数:
144
Cow Bowling
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 14210
Accepted: 9432
Description
The cows don't use actual bowling balls when they go bowling. ...
分类:
其他好文 时间:
2014-11-16 18:44:34
阅读次数:
201
Cow Bowling
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 14206
Accepted: 9428
Description
The cows don't use actual bowling balls when they go bowling. ...
分类:
其他好文 时间:
2014-11-16 17:24:45
阅读次数:
134
The Cow Lexicon
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 8252
Accepted: 3888
Description
Few know that the cows have their own dictionary with W (1 ...
分类:
其他好文 时间:
2014-11-16 16:00:13
阅读次数:
134
这题做的我真是23333。。。奥,这题表述不清,是说曼哈顿距离 11 #include 12 #include 13 14 #define lson p > 1;64 if (L k) {82 L = a[j].y - k + 1, R = a[j].y, del...
分类:
其他好文 时间:
2014-11-16 15:57:23
阅读次数:
322
从一道题开始分析:
假设某个表有一个联合索引(c1,c2,c3,c4)一下——只能使用该联合索引的c1,c2,c3部分
A where c1=x and c2=x and c4>x and c3=x
B where c1=x and c2=x and c4=x order by c3
C where c1=x and c4= x group by c3,c2
D where c1=? a...
分类:
数据库 时间:
2014-11-16 12:10:38
阅读次数:
158
DescriptionFarmer John's cousin, Farmer Ron, who lives in the mountains of Colorado, has recently taught his cows to ski. Unfortunately, his cows are ...
分类:
其他好文 时间:
2014-11-15 21:45:47
阅读次数:
268
Cow Exhibition
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9383
Accepted: 3601
Description
"Fat and docile, big and dumb, they look so stupid, they a...
分类:
其他好文 时间:
2014-11-15 20:19:13
阅读次数:
208
Docker是一个开源的应用容器引擎,主要利用linux内核namespace实现沙盒隔离,用cgroup实现资源限制。
Docker 支持三种不同的镜像层次存储的drivers: aufs、devicemapper、btrfs ;
Aufs:
分类:
其他好文 时间:
2014-11-15 11:17:53
阅读次数:
254
Cow Bowling
http://poj.org/problem?id=3176
Time Limit: 1000MS
Memory Limit: 65536K
Description
The cows don't use actual bowling balls when they go bowling. They each ta...
分类:
其他好文 时间:
2014-11-14 17:50:52
阅读次数:
224