![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codeforces
文章平均质量分 88
Low丶Coder
这个作者很懒,什么都没留下…
展开
-
Codeforces1003D Coins and Queries
D. Coins and Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has nn coins, the value of the ii-th coin is aiai. It is guaranteed t...原创 2018-07-09 14:35:29 · 245 阅读 · 0 评论 -
Codeforces848B Rooter's Song
Rooter's Song Wherever the destination is, whoever we meet, let's render this song together. On a Cartesian coordinate plane lies a rectangular stage of size w × h, represented by a rectangle with ...原创 2018-08-07 17:05:19 · 190 阅读 · 0 评论 -
Codeforces697C Lorenzo Von Matterhorn
Lorenzo Von Matterhorn Barney lives in NYC. NYC has infinite number of intersections numbered with positive integers starting from 1. There exists a bidirectional road between intersections i and 2i ...原创 2018-08-14 13:11:46 · 249 阅读 · 0 评论 -
Codeforces 675D Tree Construction
D. Tree Construction During the programming classes Vasya was assigned a difficult problem. However, he doesn't know how to code and was unable to find the solution in the Internet, so he asks you to...原创 2018-08-05 22:45:58 · 372 阅读 · 0 评论 -
Codeforces Round #210 (Div. 1) A. Levko and Array Recovery
A. Levko and Array Recovery Levko loves array a1, a2, ... , an, consisting of integers, very much. That is why Levko is playing with array a, performing all sorts of operations with it. Each operatio...原创 2018-07-23 09:40:03 · 139 阅读 · 0 评论 -
Codeforces Round #158 (Div. 2)C. Balls and Boxes
C. Balls and Boxes time limit per test:1 second memory limit per test:256 megabytes Little Vasya had n boxes with balls in the room. The boxes stood in a row and were numbered with numbers from 1 to...原创 2018-07-23 00:14:49 · 166 阅读 · 0 评论 -
Codeforces Round #158 (Div. 2) D. Black and White Tree
D. Black and White Tree The board has got a painted tree graph, consisting of n nodes. Let us remind you that a non-directed graph is called a tree if it is connected and doesn't contain any cycles. ...原创 2018-07-24 16:14:43 · 177 阅读 · 0 评论 -
Codeforces Round #160 (Div. 1) B. Maxim and Restaurant
B. Maxim and Restaurant Maxim has opened his own restaurant! The restaurant has got a huge table, the table's length is p meters. Maxim has got a dinner party tonight, n guests will come to him. Let...原创 2018-07-24 15:22:03 · 166 阅读 · 0 评论 -
Codeforces Round #160 (Div. 1) A. Maxim and Discounts
A. Maxim and Discounts Maxim always goes to the supermarket on Sundays. Today the supermarket has a special offer of discount systems. There are m types of discounts. We assume that the discounts...原创 2018-07-24 09:58:14 · 194 阅读 · 0 评论 -
Codeforces1006E Military Problem
E. Military Problem time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output In this problem you will have to help Berland army with organ...原创 2018-07-17 15:26:19 · 396 阅读 · 0 评论 -
Codeforces 1005DPolycarp and Div 3
D. Polycarp and Div 3time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp likes numbers that are divisible by 3.He has a huge number ss. Polyc...原创 2018-07-11 00:20:15 · 360 阅读 · 0 评论 -
Codeforces Round #506 (Div. 3) A. Many Equal Substrings
A. Many Equal Substrings You are given a string tt consisting of nn lowercase Latin letters and an integer number kk. Let's define a substring of some string ss with indices from ll to rr as s[l…r]s...原创 2018-09-09 23:30:04 · 358 阅读 · 0 评论