
水题
文章平均质量分 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 · 517 阅读 · 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 · 352 阅读 · 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 · 395 阅读 · 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 · 603 阅读 · 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 · 909 阅读 · 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 · 577 阅读 · 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 · 575 阅读 · 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 · 367 阅读 · 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 · 780 阅读 · 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 · 289 阅读 · 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 · 688 阅读 · 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 · 538 阅读 · 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 · 2143 阅读 · 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 · 330 阅读 · 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 · 1255 阅读 · 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 · 737 阅读 · 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 · 652 阅读 · 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 · 601 阅读 · 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 · 393 阅读 · 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 · 353 阅读 · 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 · 342 阅读 · 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 · 349 阅读 · 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 · 453 阅读 · 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 · 338 阅读 · 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 · 238 阅读 · 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 · 173 阅读 · 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 · 340 阅读 · 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 · 214 阅读 · 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 · 240 阅读 · 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 · 1065 阅读 · 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 · 508 阅读 · 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 · 299 阅读 · 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 · 222 阅读 · 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 · 486 阅读 · 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 · 251 阅读 · 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 · 550 阅读 · 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 · 813 阅读 · 0 评论 -
Almost Arithmetic Progression CodeForces - 978D(暴力)
参考:https://blog.youkuaiyun.com/unclejokerly/article/details/80410223D. Almost Arithmetic Progressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolyc...原创 2018-06-03 16:51:49 · 376 阅读 · 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 · 463 阅读 · 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 · 384 阅读 · 0 评论