AntsTime Limit:1000MSMemory Limit:30000KTotal Submissions:12893Accepted:5637DescriptionAn army of ants walk on a horizontal pole of length l cm, each ...
分类:
其他好文 时间:
2015-12-20 15:57:22
阅读次数:
164
hostile: [hastl]: 敌对的,敌意的: hostile army, hostile action hostile aircraft.we lea the whole hostile army captive. [k2eptiv]: adj. 被监禁的...---------------...
分类:
系统相关 时间:
2015-11-29 16:28:54
阅读次数:
240
D - Pick The SticksDescriptionThe story happened long long ago. One day, Cao Cao made a special order called "Chicken Rib" to his army. No one got his...
分类:
其他好文 时间:
2015-10-30 20:39:38
阅读次数:
385
The Battle of ChibiTime Limit: 6000/4000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Cao Cao made up a big army and was going to invade ....
分类:
其他好文 时间:
2015-10-29 18:17:50
阅读次数:
139
C - The Battle of ChibiTime Limit: 1 Sec Memory Limit: 256 MB题目连接无DescriptionCao Cao made up a big army and was going to invade the whole South China....
分类:
其他好文 时间:
2015-10-22 00:13:26
阅读次数:
207
题意:一个n个点的数, m个人住在其中的某些点上, 每个人的标号1-m, 询问u-v 路径上标号前a个人,并输出标号,a using namespace std;const int maxn = 1e5 + 5;const int maxdep = 20;int par[maxdep][maxn],...
分类:
编程语言 时间:
2015-10-21 00:01:32
阅读次数:
231
Time Limit:1000MSMemory Limit:30000KTotal Submissions:12431Accepted:5462DescriptionAn army of ants walk on a horizontal pole of length l cm, each with...
分类:
其他好文 时间:
2015-10-15 22:05:28
阅读次数:
107
Saruman's ArmyTime Limit:1000MSMemory Limit:65536KTotal Submissions:5760Accepted:2949DescriptionSaruman the White must lead his army along a straight ...
分类:
其他好文 时间:
2015-10-04 21:03:22
阅读次数:
247
给定一个单词a,如果通过交换单词中字母的顺序可以得到另外的单词b,那么定义b是a的兄弟单词,例如单词army和mary互为兄弟单词。现在给定一个字典,用户输入一个单词,如何根据字典找出这个单词有哪些兄弟单词?要求时间和空间效率尽可能的高。方案一:用hash来做 head中保存的是 排好序的字母顺序 ...
分类:
其他好文 时间:
2015-09-07 01:50:36
阅读次数:
143
"I worked up a full implementation as well but I decided that it was too complicated to post in the blog. What I was really trying to get across was t...