cf
文章平均质量分 85
圣诞老人家
这个作者很懒,什么都没留下…
展开
-
C - Little Pony and Expected Maximum
C - Little Pony and Expected MaximumTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 454CDescriptionTwilight Spark原创 2016-09-22 22:56:13 · 363 阅读 · 0 评论 -
cf 807C Success Rate
You are an experienced Codeforces user. Today you found out that during your activity on Codeforces you have madey submissions, out of which x have been successful. Thus, your current success rate原创 2017-05-21 17:53:35 · 419 阅读 · 0 评论 -
gym100971
There is a set of n segments with the lengthsli. Find a segment with an integer length so that it could form a non-degenerate triangle with any two segments from the set, or tell that such seg原创 2017-05-19 12:00:18 · 285 阅读 · 0 评论 -
gym100971G
Alex is repairing his country house. He has a rectangular metal sheet of size a × b. He has to cut two rectangular sheets of sizes a1 × b1 anda2 × b2 from it. All cuts must be parallel to th原创 2017-05-19 11:57:51 · 446 阅读 · 0 评论 -
gym100971B
A permutation of n numbers is a sequence of integers from 1 ton where each number is occurred exactly once. If a permutationp1, p2, ..., pn has an index i such that pi = i, this index is c原创 2017-05-19 11:55:24 · 457 阅读 · 0 评论 -
cf 789 B
Anastasia loves going for a walk in Central Uzhlyandian Park. But she became uninterested in simple walking, so she began to collect Uzhlyandian pebbles. At first, she decided to collect all the pebbl原创 2017-04-19 21:03:49 · 663 阅读 · 0 评论 -
CodeForces - 789A A - Anastasia and pebbles
Anastasia loves going for a walk in Central Uzhlyandian Park. But she became uninterested in simple walking, so she began to collect Uzhlyandian pebbles. At first, she decided to collect all the p原创 2017-04-05 09:28:13 · 512 阅读 · 0 评论 -
cf 785 C - Anton and Fairy Tale
Anton likes to listen to fairy tales, especially when Danik, Anton's best friend, tells them. Right now Danik tells Anton a fairy tale:"Once upon a time, there lived an emperor. He was very rich and原创 2017-03-29 20:13:21 · 423 阅读 · 0 评论 -
cf 785 水题
A - Anton and Polyhedrons Anton's favourite geometric figures are regular polyhedrons. Note that there are five kinds of regular polyhedrons:Tetrahedron. Tetrahedron has 4 triangular faces.Cub原创 2017-03-29 19:57:10 · 1045 阅读 · 0 评论 -
cf--B - Anatoly and Cockroaches
Anatoly lives in the university dorm as many other students do. As you know, cockroaches are also living there together with students. Cockroaches might be of two colors: black and red. There are n co原创 2016-09-28 10:32:48 · 447 阅读 · 0 评论 -
cf--E. The Values You Can Make(dp)
Today Pari and Arya are playing a game called Remainders.Pari chooses two positive integer x and k, and tells Arya k but not x. Arya have to find the value . There are n ancient numbersc1, c2, .原创 2016-09-21 19:51:56 · 261 阅读 · 0 评论 -
cf----D - Remainders Game(中国剩余定理)
Today Pari and Arya are playing a game called Remainders.Pari chooses two positive integer x and k, and tells Arya k but not x. Arya have to find the value . There are n ancient numbersc1, c2, .原创 2016-09-20 20:12:43 · 340 阅读 · 0 评论 -
B - Little Pony and Sort by Shift
Submit Status Practice CodeForces 454BDescriptionOne day, Twilight Sparkle is interested in how to sort a sequence of integers a1, a2, ..., an in non-decreasing order. Being a youn原创 2016-09-22 23:04:08 · 373 阅读 · 0 评论 -
cf 808B
It's been almost a week since Polycarp couldn't get rid of insomnia. And as you may already know, one week in Berland lastsk days!When Polycarp went to a doctor with his problem, the doctor asked原创 2017-05-21 17:55:50 · 302 阅读 · 0 评论