水题
文章平均质量分 77
Levi——
这个作者很懒,什么都没留下…
展开
-
Efim and Strange Grade (思维)
Efim just received his grade for the last test. He studies in a special school and his grade can be equal to any positive decimal fraction. First he got disappointed, as he expected a way more pleasan...原创 2018-08-10 10:11:36 · 418 阅读 · 0 评论 -
Sonya and Robots CodeForces - 1004C(思维)
C. Sonya and Robotstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSince Sonya is interested in robotics too, she decided to construct robots that ...原创 2018-07-08 18:30:43 · 288 阅读 · 0 评论 -
Sonya and Exhibition CodeForces - 1004B(水题)
B. Sonya and Exhibitiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSonya decided to organize an exhibition of flowers. Since the girl likes onl...原创 2018-07-08 17:30:21 · 352 阅读 · 0 评论 -
Sonya and Hotels CodeForces - 1004A (水题)
A. Sonya and Hotelstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSonya decided that having her own hotel business is the best way of earning mone...原创 2018-07-08 16:53:02 · 509 阅读 · 0 评论 -
D. Suit and Tie(水题 模拟)
D. Suit and Tietime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAllen is hosting a formal dinner party. 2n2n people come to the event in nn pairs (...原创 2018-06-25 21:59:32 · 847 阅读 · 0 评论 -
B. World Cup(思维)
、B. World Cuptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAllen wants to enter a fan zone that occupies a round square and has nn entrances.Ther...原创 2018-06-25 21:22:21 · 539 阅读 · 0 评论 -
A. Nastya and an Array(水题)
A. Nastya and an Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNastya owns too many arrays now, so she wants to delete the least important o...原创 2018-06-19 10:14:45 · 529 阅读 · 0 评论 -
Commentary Boxes CodeForces - 990A(水题)
A. Commentary Boxestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBerland Football Cup starts really soon! Commentators from all over the world c...原创 2018-06-11 10:33:28 · 325 阅读 · 0 评论 -
Two Squares CodeForces - 994C(思维)
C. Two Squarestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two squares, one with sides parallel to the coordinate axes, and anothe...原创 2018-06-17 18:57:33 · 709 阅读 · 0 评论 -
Fingerprints CodeForces - 994A (水题)
A. Fingerprintstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are locked in a room with a door that has a keypad with 10 keys corresponding to...原创 2018-06-17 11:43:02 · 257 阅读 · 0 评论 -
D. Bishwock(思维)
D. Bishwocktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBishwock is a chess figure that consists of three squares resembling an "L-bar". This fi...原创 2018-06-24 13:42:41 · 631 阅读 · 0 评论 -
B. Getting an A(水题)
B. Getting an Atime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTranslator's note: in Russia's most widespread grading system, there are four grades...原创 2018-06-24 10:42:24 · 478 阅读 · 0 评论 -
A. If at first you don't succeed...(水题)
A. If at first you don't succeed...time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEach student eagerly awaits the day he would pass the exams succ...原创 2018-06-24 10:12:24 · 2060 阅读 · 0 评论 -
Consecutive Subsequence CodeForces - 977F (dp思维)
参考了dalao的代码!!!F. Consecutive Subsequencetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an integer array of length nn.You have to ch...原创 2018-06-15 19:12:46 · 268 阅读 · 0 评论 -
Treasure Hunt CodeForces - 979B (思维+map)
B. Treasure Hunttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter the big birthday party, Katie still wanted Shiro to have some more fun. Later...原创 2018-05-31 21:32:43 · 933 阅读 · 0 评论 -
Balloons CodeForces - 998A (水题)
A. Balloonstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are quite a lot of ways to have fun with inflatable balloons. For example, you can...原创 2018-07-02 11:11:19 · 681 阅读 · 0 评论 -
Cutting CodeForces - 998B (思维)
B. Cuttingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are a lot of things which could be cut — trees, paper, "the rope". In this problem...原创 2018-07-02 11:18:02 · 604 阅读 · 0 评论 -
Tanya and Stairways CodeForces - 1005A (水题)
A. Tanya and Stairwaystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle girl Tanya climbs the stairs inside a multi-storey building. Every tim...原创 2018-07-10 10:23:20 · 526 阅读 · 0 评论 -
codeforces 1017 problem C. The Phone Number(思维+构造)
C. The Phone Numbertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMrs. Smith is trying to contact her husband, John Smith, but s...原创 2018-08-09 17:24:42 · 300 阅读 · 0 评论 -
codeforces 1017 problem B The Bits (思维)
B. The Bitstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRudolf is on his way to the castle. Before getting into the castle, t...原创 2018-08-09 17:12:02 · 313 阅读 · 0 评论 -
codeforces 1017 problem A. The Rank(水)
A. The Ranktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputJohn Smith knows that his son, Thomas Smith, is among the best student...原创 2018-08-09 17:01:51 · 296 阅读 · 0 评论 -
codeforces1016 D. Vasya And The Matrix(数学+思维)
D. Vasya And The Matrixtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNow Vasya is taking an exam in mathematics. In order to g...原创 2018-08-04 14:40:23 · 281 阅读 · 0 评论 -
codeforces 1016B. Segment Occurrences(思维)
B. Segment Occurrencestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two strings ss and tt, both consisting only ...原创 2018-08-04 14:29:16 · 400 阅读 · 0 评论 -
codeforces 1016A. Death Note(思维)
A. Death Notetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou received a notebook which is called Death Note. This notebook h...原创 2018-08-04 14:22:53 · 301 阅读 · 0 评论 -
codeforces Bus
A bus moves along the coordinate line Ox from the point x = 0 to the point x = a. After starting from the point x = 0, it reaches the point x = a, immediately turns back and then moves to the point x ...原创 2018-07-19 20:23:24 · 203 阅读 · 0 评论 -
codeforces 868B Race Against Time(思维)
Have you ever tried to explain to the coordinator, why it is eight hours to the contest and not a single problem has been prepared yet? Misha had. And this time he has a really strong excuse: he faced...原创 2018-07-18 16:58:30 · 146 阅读 · 0 评论 -
Codeforces Round #445 C. Petya and Catacombs(思维)
A very brave explorer Petya once decided to explore Paris catacombs. Since Petya is not really experienced, his exploration is just walking through the catacombs.Catacombs consist of several rooms a...原创 2018-07-18 16:51:08 · 256 阅读 · 0 评论 -
Codeforces Educational Codeforces Round 31 - B - Japanese Crosswords Strike Back(水)
A one-dimensional Japanese crossword can be represented as a binary string of length x. An encoding of this crossword is an array a of size n, where n is the number of segments formed completely of 1'...原创 2018-07-18 16:18:18 · 182 阅读 · 0 评论 -
Codeforces 877(442 Div.2) C. Slava and tanks(思维)
Slava plays his favorite game "Peace Lightning". Now he is flying a bomber on a very specific map.Formally, map is a checkered field of size 1 × n, the cells of which are numbered from 1 to n, in ea...原创 2018-07-18 15:41:51 · 201 阅读 · 0 评论 -
A. Codehorses T-shirts(水题)
A. Codehorses T-shirtstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCodehorses has just hosted the second Codehorses Cup. This year, the same as...原创 2018-06-28 14:18:27 · 1015 阅读 · 0 评论 -
Delete from the Left CodeForces - 1005B (水题)
B. Delete from the Lefttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two strings ss and tt. In a single move, you can choose any of...原创 2018-07-10 10:42:19 · 459 阅读 · 0 评论 -
Nested Segments CodeForces - 976C (思维)
C. Nested Segmentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a sequence a1, a2, ..., an of one-dimensional segments numbered 1 ...原创 2018-06-07 21:35:09 · 267 阅读 · 0 评论 -
Lara Croft and the New Game CodeForces - 976B(水题 分段讨论)
B. Lara Croft and the New Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou might have heard about the next game in Lara Croft series coming...原创 2018-06-07 20:43:32 · 181 阅读 · 0 评论 -
Divide by three, multiply by two CodeForces - 977D(思维+map)
D. Divide by three, multiply by twotime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp likes to play with numbers. He takes some integer numbe...原创 2018-06-14 15:48:10 · 431 阅读 · 0 评论 -
Links and Pearls CodeForces - 980A (水题)
A. Links and Pearlstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA necklace can be described as a string of links ('-') and pearls ('o'), with th...原创 2018-06-03 21:50:40 · 219 阅读 · 0 评论 -
Mentors CodeForces - 978F (思维 stl的应用)
F. Mentorstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn BerSoft nn programmers work, the programmer ii is characterized by a skill riri.A pro...原创 2018-06-03 19:41:06 · 472 阅读 · 0 评论 -
Bus Video System CodeForces - 978E(水题 思维)
E. Bus Video Systemtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe busses in Berland are equipped with a video surveillance system. The system ...原创 2018-06-03 17:25:38 · 743 阅读 · 0 评论 -
Almost Arithmetic Progression CodeForces - 978D(暴力)
参考:https://blog.csdn.net/unclejokerly/article/details/80410223D. Almost Arithmetic Progressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolyc...原创 2018-06-03 16:51:49 · 316 阅读 · 0 评论 -
Letters CodeForces - 978C(水题 lower_bound)
C. Letterstime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are nn dormitories in Berland State University, they are numbered with integers fr...原创 2018-06-03 16:43:40 · 408 阅读 · 0 评论 -
File Name CodeForces - 978B (水题)
B. File Nametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou can not just take the file and send it. When Polycarp trying to send a file in the ...原创 2018-06-03 16:37:42 · 337 阅读 · 0 评论