codeforce水题
晚乔最美
这个作者很懒,什么都没留下…
展开
-
D. Solve The Maze(BFS+思维)
D. Solve The Maze Vivek has encountered a problem. He has a maze that can be represented as an n×m grid. Each of the grid cells may represent the following: Empty — ‘.’ Wall — ‘#’ Good person — ‘G’ Bad person — ‘B’ The only escape...原创 2020-06-11 22:04:27 · 438 阅读 · 0 评论 -
C. Mixing Water(最简单的做法,最易懂)
There are two infinite sources of water: hot water of temperature h; cold water of temperature c (c<h). You perform the following procedure of alternating moves: take one cup of the hot water and pour it into an infinitely deep barrel; take one cup of t原创 2020-05-29 12:21:01 · 741 阅读 · 2 评论 -
E. Special Elements
题目戳这里 time limit per test1 second memory limit per test64 megabytes inputstandard input outputstandard output Pay attention to the non-standard memory limit in this problem. In order to cut off efficient solutions from inefficient ones in this problem, the原创 2020-05-17 22:34:19 · 236 阅读 · 0 评论 -
Codeforces Round #447 (Div. 2) A QAQ
A QAQ “QAQ” is a word to denote an expression of crying. Imagine “Q” as eyes with tears and “A” as a mouth.Now Diamond has given Bort a string consisting of only uppercase ...原创 2020-01-30 20:54:03 · 156 阅读 · 0 评论 -
Codeforces Round 81 (Rated for Div. 2) A Display The Number
A Display The Number You have a large electronic screen which can display up to 998244353998244353 decimal digits. The digits are displayed in the same way as on different electronic a...原创 2020-01-30 13:11:18 · 228 阅读 · 0 评论 -
B. Cubes for Masha
B. Cubes for Masha Absent-minded Masha got set of n cubes for her birthday.At each of 6 faces of each cube, there is exactly one digit from 0 to 9. Masha became interested what is the largest n...原创 2020-01-28 22:40:41 · 215 阅读 · 0 评论