![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
国庆 集训 补课
文章平均质量分 82
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 · 492 阅读 · 0 评论 -
Black Box
Black BoxTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7592 Accepted: 3121DescriptionOur Black Box represents a primitive database. It can save an int原创 2014-10-09 17:28:46 · 600 阅读 · 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 · 793 阅读 · 0 评论 -
Strategic game
Strategic gameBob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he has the following problem. He mus原创 2014-10-09 20:38:41 · 1056 阅读 · 1 评论 -
Jupiter Atacks!
Major cities have been destroyed by Jovian spacecrafts and humanity is fighting back. Nlogonia is spearheading the counter-offensive, by hacking into the spacecrafts' control system.Unlike Earthli原创 2014-10-09 17:04:08 · 393 阅读 · 0 评论 -
Mega Man’s Missions
Mega Man’s MissionsMega Man is off to save the world again. His objective is to kill the Robots created by Dr. Wily whose motive is to conquer the world. In each mission, he will try to destroy a原创 2014-10-09 20:42:23 · 659 阅读 · 0 评论 -
Almost Union-Find
Almost Union-FindI hope you know the beautiful Union-Find structure. In this problem, you're to implement something similar, but not identical.The data structure you need to write is also a原创 2014-10-09 18:03:09 · 442 阅读 · 0 评论 -
Partitioning by Palindromes(回文串-->字符串DP)
Partitioning by PalindromesWe say a sequence of characters is a palindrome if it is the same written forwards and backwards. For example, 'racecar' is a palindrome, but 'fastcar' is not.A partit原创 2014-10-09 19:41:25 · 524 阅读 · 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 · 499 阅读 · 0 评论