Substring
时间限制:1000 ms | 内存限制:65535 KB
难度:1
描述
You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substrin...
分类:
其他好文 时间:
2014-12-26 14:40:43
阅读次数:
236
River Crossing
时间限制:1000 ms | 内存限制:65535 KB
难度:4
描述
Afandi is herding N sheep across the expanses of grassland when he finds himself blocked by a river. A single raft is available for transpo...
分类:
其他好文 时间:
2014-12-26 11:13:47
阅读次数:
242
Adjacent Bit Counts
时间限制:1000 ms | 内存限制:65535 KB
难度:4
描述
For a string of n bits x1, x2, x3, …, xn, the adjacent bit count of the string is given by fun(x) = x1*x2 + x2*x3 + x3*x 4 + … + ...
分类:
其他好文 时间:
2014-12-26 11:10:26
阅读次数:
199
不同的算法适应不同的场合,而好的算法都是从以前的经验中提取出来的,只有理论没有实践的算法是闭门造车,从实践中归纳出来的解决问题的办法往往具有便捷性。 大一跟着学长做机器人省赛的时候拼的是时间,因为大一什么都不懂,而我们有的就是时间比较闲,学长做我们看,用俗话说就是跟着学长打酱油;等到大二自己真...
分类:
其他好文 时间:
2014-11-23 20:05:41
阅读次数:
232
题目The minimum square sumTime Limit 1000msMemory Limit 65536Kdescription Given a prime p (pint main(){long long int i,j,k,n,m;while(scanf("%lld",&n)!=....
分类:
其他好文 时间:
2014-11-22 20:15:41
阅读次数:
198
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 const int maxn = 1e5+10;10 int c[maxn], a[maxn];1...
分类:
编程语言 时间:
2014-11-18 23:43:52
阅读次数:
195
Weighted Median
Time Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
For n elements x1,?x2,?...,?xn with positive integer weights w1,?w2,?...,?wn. The weighted median is the...
分类:
其他好文 时间:
2014-11-04 22:51:14
阅读次数:
290
十月份也要结束了,还记得九月底的时候安排的这个月的计划,现在只能说一句呵呵了。。如果非得找点借口让自己心安理得的话,那应该就是省赛的结果给人打击太大了的原因吧,果然是期望越高失望越高,省赛回来也确实是低沉了不短一阵子。算了,过去的就过去了,接下来的时间训练好就一切ok了,只不过差不多又到了考试月.....
分类:
其他好文 时间:
2014-10-30 22:32:17
阅读次数:
255
SCAU 五队,六队打完西安区域赛,一铜一铁,五队到封榜的时候还是铁位。马哥说得对。要打好基础,别太早分工,那么新目标就是一个月多点把白书给K,习题也给做了。然后到了12月到省赛排位之前一直单挑套题。学习知识,把题量上到1K5 。 然后从现在开始CF的题目一题都不能放过,做不出的话就看大神代码把.....
分类:
其他好文 时间:
2014-10-28 00:34:12
阅读次数:
183
1115: Problem E 圆环的转动问题
时间限制: 1 Sec 内存限制: 128 MB
提交: 58 解决: 6
[提交][状态][讨论版]
题目描述
已知圆环有如下特性: 1.一个转动着的圆环会带动与其相切的圆环同时转动。 2.两个相切圆环在切点处不会发生滑动。 开始时,平面上有两个静止的圆环(输入数据保证两个圆不会相交或重合)。 后加一外力,使得第一个圆...
分类:
其他好文 时间:
2014-10-25 15:55:22
阅读次数:
134