水题
文章平均质量分 81
dd_lucky
这个作者很懒,什么都没留下…
展开
-
考虑两种情况
Largest PointTime Limit: 1500/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 795 Accepted Submission(s): 327Problem DescriptionGiven the sequ原创 2015-09-21 21:38:38 · 242 阅读 · 0 评论 -
2016 Multi-University Training Contest 2 It's All In The Mind
Problem DescriptionProfessor Zhang has a number sequence a1,a2,...,an. However, the sequence is not complete and some elements are missing. Fortunately, Professor Zhang remembers some properties原创 2016-07-22 09:32:20 · 195 阅读 · 0 评论 -
2016 Multi-University Training Contest 2 La Vie en rose
Problem DescriptionProfessor Zhang would like to solve the multiple pattern matching problem, but he only has only one pattern string p=p1p2...pm. So, he wants to generate as many as possible pa原创 2016-07-22 09:28:22 · 243 阅读 · 0 评论 -
2016 Multi-University Training Contest 3 Rower Bo
Rower BoTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 867 Accepted Submission(s): 296Special JudgeProblem DescriptionTher原创 2016-07-27 14:06:24 · 221 阅读 · 0 评论 -
codeforcs 351 D. Bear and Two Paths
D. Bear and Two Pathstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBearland has n cities, numbered 1 thr原创 2016-05-08 15:33:30 · 338 阅读 · 0 评论 -
codeforcs 351 C. Bear and Color
C. Bear and Colorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBear Limak has n colored balls, arranged原创 2016-05-08 15:26:08 · 574 阅读 · 0 评论 -
codeforcs 351 B. Problems for Round
B. Problems for Roundtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n problems prepared for the原创 2016-05-08 15:20:18 · 606 阅读 · 1 评论 -
codeforcs 351 A. Bear and Game
A. Bear and Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBear Limak likes watching sports on TV. He原创 2016-05-08 15:14:48 · 313 阅读 · 0 评论 -
codeforcs 350 C. Cinema
C. Cinematime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMoscow is hosting a major international conferenc原创 2016-05-07 20:31:54 · 495 阅读 · 0 评论 -
codeforcs 350 B. Game of Robots
B. Game of Robotstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn late autumn evening n robots gathered i原创 2016-05-07 20:24:41 · 334 阅读 · 0 评论 -
codeforce 350 A. Holidays
A. Holidaystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn the planet Mars a year lasts exactly n days (原创 2016-05-07 20:15:09 · 234 阅读 · 0 评论 -
codefores 352 C. Recycling Bottles
C. Recycling Bottlestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt was recycling day in Kekoland. To c原创 2016-05-13 22:03:02 · 349 阅读 · 0 评论 -
codefores 352 D. Robin Hood
D. Robin Hoodtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe all know the impressive story of Robin Hood原创 2016-05-13 21:57:58 · 318 阅读 · 0 评论 -
Codeforces Round #346 (Div. 2) B. Qualifying Contest
Very soon Berland will hold a School Team Programming Olympiad. From each of the m Berland regions a team of two people is invited to participate in the olympiad. The qualifying contest to form team原创 2016-04-01 20:48:26 · 252 阅读 · 0 评论 -
Codeforces Round #346 (Div. 2) A. Round House
Vasya lives in a round building, whose entrances are numbered sequentially by integers from 1 to n. Entrance n and entrance 1 are adjacent.Today Vasya got bored and decided to take a walk in t原创 2016-04-01 20:53:49 · 218 阅读 · 0 评论 -
2016 Multi-University Training Contest 2 Keep On Movin
Problem DescriptionProfessor Zhang has kinds of characters and the quantity of the i-th character is ai. Professor Zhang wants to use all the characters build several palindromic strings. He a原创 2016-07-22 11:08:02 · 161 阅读 · 0 评论