
cf
文章平均质量分 85
圣诞老人家
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C - Little Pony and Expected Maximum
C - Little Pony and Expected Maximum Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 454C Description Twilight Spark原创 2016-09-22 22:56:13 · 386 阅读 · 0 评论 -
cf 807C Success Rate
You are an experienced Codeforces user. Today you found out that during your activity on Codeforces you have made y submissions, out of which x have been successful. Thus, your current success rate原创 2017-05-21 17:53:35 · 461 阅读 · 0 评论 -
gym100971
There is a set of n segments with the lengths li. 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 · 325 阅读 · 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 and a2 × b2 from it. All cuts must be parallel to th原创 2017-05-19 11:57:51 · 499 阅读 · 0 评论 -
gym100971B
A permutation of n numbers is a sequence of integers from 1 to n where each number is occurred exactly once. If a permutation p1, p2, ..., pn has an index i such that pi = i, this index is c原创 2017-05-19 11:55:24 · 522 阅读 · 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 · 701 阅读 · 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 · 570 阅读 · 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 · 493 阅读 · 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 · 1166 阅读 · 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 · 493 阅读 · 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 · 315 阅读 · 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 · 425 阅读 · 0 评论 -
B - Little Pony and Sort by Shift
Submit Status Practice CodeForces 454B Description One 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 · 424 阅读 · 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 lasts k days! When Polycarp went to a doctor with his problem, the doctor asked原创 2017-05-21 17:55:50 · 362 阅读 · 0 评论