
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 · 293 阅读 · 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 · 246 阅读 · 0 评论 -
Codeforces697C Lorenzo Von Matterhorn
Lorenzo Von MatterhornBarney 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 · 309 阅读 · 0 评论 -
Codeforces 675D Tree Construction
D. Tree ConstructionDuring 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 · 420 阅读 · 0 评论 -
Codeforces Round #210 (Div. 1) A. Levko and Array Recovery
A. Levko and Array RecoveryLevko 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 · 175 阅读 · 0 评论 -
Codeforces Round #158 (Div. 2)C. Balls and Boxes
C. Balls and Boxestime limit per test:1 second memory limit per test:256 megabytesLittle 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 · 228 阅读 · 0 评论 -
Codeforces Round #158 (Div. 2) D. Black and White Tree
D. Black and White TreeThe 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 · 231 阅读 · 0 评论 -
Codeforces Round #160 (Div. 1) B. Maxim and Restaurant
B. Maxim and RestaurantMaxim 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 · 219 阅读 · 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 · 246 阅读 · 0 评论 -
Codeforces1006E Military Problem
E. Military Problemtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn this problem you will have to help Berland army with organ...原创 2018-07-17 15:26:19 · 440 阅读 · 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 · 395 阅读 · 0 评论 -
Codeforces Round #506 (Div. 3) A. Many Equal Substrings
A. Many Equal SubstringsYou 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 · 430 阅读 · 0 评论