Alice and Bob
Time Limit: 1000MS Memory limit: 65536K
题目描述
Alice and Bob like playing games very much.Today, they introduce a new game.
There is a polynomial like this: (a0*x^(2^0)...
分类:
其他好文 时间:
2014-05-10 08:44:35
阅读次数:
363
Boring CountingTime Limit: 3000ms Memory limit:
65536K有疑问?点这里^_^题目描述 In this problem you are given a number sequence P
consisting of N integer and Pi....
分类:
其他好文 时间:
2014-05-08 19:17:31
阅读次数:
473
这是在省赛前热身赛出的题目,可能是题目中有用到博弈的思想,很多人都在做,而且在尝试暴力。但是没有人往dp的方向上想。
题意:
有一个长度为n的整数序列,A和B轮流取数,A先取,每次可以从左端或者右端取一个数,所有数都被取完时游戏结束,然后统计每个人取走的所有数字之和作为得分,两人的策略都是使自己的得分尽可能高,并且都足够聪明,求A的得分减去B的得分的结果。...
分类:
其他好文 时间:
2014-05-07 16:09:45
阅读次数:
436
本文出自:http://blog.csdn.net/svitter
题意:
f(x) = K, x = 1
f(x) = (a*f(x-1) + b)%m , x > 1
求出( A^(f(1)) + A^(f(2)) + A^(f(3)) + ...... + A^(f(n)) ) modular P.
1
0
1
本题目的关键在于大幂的分解和。。你...
分类:
其他好文 时间:
2014-05-07 06:19:22
阅读次数:
366
The number of steps
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the seco...
分类:
其他好文 时间:
2014-05-07 06:15:59
阅读次数:
427
2013山东省第四届ACM大学生程序设计竞赛 Rescue The Princess 计算几何 山东省赛 sdut2603...
分类:
其他好文 时间:
2014-05-07 05:35:13
阅读次数:
487
Pixel density题目描述Pixels per inch (PPI) or pixel
density is a measurement of the resolution of devices in various contexts;
typically computer displays...
分类:
其他好文 时间:
2014-05-07 02:23:38
阅读次数:
481
第一届山东省赛题目(2400-2409)http://acm.sdibt.edu.cn/JudgeOnline/problemset.php?search=%E5%B1%B1%E4%B8%9C%E7%9C%81%E7%AC%AC%E4%B8%80%E5%B1%8AACM%E7%A8%8B%E5%BA...
分类:
其他好文 时间:
2014-05-07 00:07:25
阅读次数:
338
2013山东省第四届ACM大学生程序设计竞赛 Alice and Bob 山东省赛 规律 sdut2608...
分类:
其他好文 时间:
2014-05-06 19:05:47
阅读次数:
494
Rescue The PrincessTime Limit: 1000ms Memory limit:
65536K有疑问?点这里^_^题目描述 Several days ago, a beast caught a beautiful princess and
the princess was pu...
分类:
其他好文 时间:
2014-05-05 10:43:54
阅读次数:
406