![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数论
文章平均质量分 80
junjie435
这个作者很懒,什么都没留下…
展开
-
Span
Problem C - Span [Description]给出n个整数xi,Si的计算规则如下: |Ai|表示集合Ai的元素个数例如,X = {40, 2, 10, 50, 30, 15},那么S = {1, 1, 2, 4, 1, 1} Xi序列是第i个素数(第一个素数为2)对m取模后的值现需要计算出Xi对应的Si的所有元素之和对m取模后的值 [In原创 2014-10-09 15:48:52 · 496 阅读 · 0 评论 -
How do you add?
How do you add?Larry is very bad at math - he usually uses a calculator, which worked well throughout college. Unforunately, he is now struck in a deserted island with his good buddy Ryan after a原创 2014-10-09 19:47:33 · 505 阅读 · 0 评论 -
Edge Case
In graph theory, a matching or independent edge set in a graph G = (V; E) is a set of edges M Esuch that no two edges in the matching M share a common vertex.Recently you saw in the news that \T原创 2014-10-09 20:14:32 · 804 阅读 · 0 评论 -
BZOJ 1002 轮状病毒
1002: [FJOI2007]轮状病毒Time Limit: 1 Sec Memory Limit: 162 MB[Submit][Status]Description给定n(NInput第一行有1个正整数n。Output将编程计算出的不同的n轮状病毒数输出Sample Input3Sample Output1原创 2014-11-14 22:01:53 · 578 阅读 · 0 评论 -
NOIP2013
NOIP数据,标程,题目,题解合集原创 2014-10-14 22:18:10 · 724 阅读 · 0 评论 -
Whac-a-Mole(动态规划)
我们把每一秒看成一个状态则当前时间下锤子落在各位置上能打到的最多的地鼠为:能在一秒内移动至该位置的各位置到达该位置时打到的地鼠数量与出发状态时快打到的地鼠数量之和最大值。原创 2014-10-17 21:47:59 · 1375 阅读 · 0 评论 -
NOIP2011
NOIP2011 DAY1,DAY2 数据,标程,题目,题解合集:http://download.csdn.net/detail/junjie435/8054741DAY1.题目概况 铺地毯 选择客栈 mayan 游戏 DAY2.题目概况 计算系数 聪明的质监员 观光公交原创 2014-10-19 09:26:09 · 1106 阅读 · 0 评论