![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeforces
HazelNuto
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #470 (rated, Div. 2, based on VK Cup 2018 Round 1)A. Protect Sheep
http://codeforces.com/contest/948/problem/AA. Protect SheepBob is a farmer. He has a large pasture with many sheep. Recently, he has lost some of them due to wolf attacks. He thus decided to pla...原创 2018-03-11 11:18:38 · 310 阅读 · 0 评论 -
Codeforces Round #548 (Div. 2) C. Edgy Trees
You are given a tree (a connected undirected graph without cycles) of原创 2019-03-23 13:15:15 · 289 阅读 · 0 评论 -
Codeforces Round #548 (Div. 2) B. Chocolates
You went to the store, selling原创 2019-03-23 13:13:31 · 221 阅读 · 0 评论 -
Codeforces Round #548 (Div. 2) A. Even Substrings
You are given a string原创 2019-03-23 13:12:30 · 158 阅读 · 0 评论 -
Codeforces Round #547 (Div. 3) E. Superhero Battle
E. Superhero BattleA superhero fights with a monster. The battle consists of rounds, each of which lasts exactly原创 2019-03-22 15:31:52 · 385 阅读 · 0 评论 -
Codeforces Round #468 (Div. 2, based on Technocup 2018 Final Round)D. Peculiar apple-tree
In Arcady’s garden there grows a peculiar apple-tree that fruits one time per year. Its peculiarity can be explained in following way: there are n inflorescences, numbered from 1 to n. Inflorescence n...原创 2018-03-22 11:04:44 · 143 阅读 · 0 评论 -
Codeforces Round #468 (Div. 2, based on Technocup 2018 Final Round)C. Laboratory Work
Anya and Kirill are doing a physics laboratory work. In one of the tasks they have to measure some value n times, and then compute the average value to lower the error.Kirill has already made his me...原创 2018-03-22 11:03:49 · 165 阅读 · 0 评论 -
Codeforces Round #468 (Div. 2, based on Technocup 2018 Final Round)B. World Cup
The last stage of Football World Cup is played using the play-off system.There are n teams left in this stage, they are enumerated from 1 to n. Several rounds are held, in each round the remaining t...原创 2018-03-22 11:02:30 · 199 阅读 · 0 评论 -
Codeforces Round #468 (Div. 2, based on Technocup 2018 Final Round)A. Friends Meeting
Two friends are on the coordinate axis Ox in points with integer coordinates. One of them is in the point x1 = a, another one is in the point x2 = b.Each of the friends can move by one along the lin...原创 2018-03-22 11:01:29 · 453 阅读 · 0 评论 -
Codeforces Round #470 (rated, Div. 2, based on VK Cup 2018 Round 1)B. Primal Sport
Alice and Bob begin their day with a quick game. They first choose a starting number X0 ≥ 3 and try to reach one million by the process described below.Alice goes first and then they take alternatin...原创 2018-03-22 11:00:12 · 241 阅读 · 0 评论 -
Codeforces Round #470 (rated, Div. 2, based on VK Cup 2018 Round 1)C. Producing Snow
http://codeforces.com/contest/948/problem/CC. Producing SnowAlice likes snow a lot! Unfortunately, this year’s winter is already over, and she can’t expect to have any more of it. Bob has thus b...原创 2018-03-11 11:20:40 · 394 阅读 · 0 评论 -
Codeforces Round #550 (Div. 3)E - Median String
难受啊///网卡的交不了题…多15分钟就能A了啊还是太菜了……扔一下垃圾代码:#include <iostream>#include <cstdio>#include <cstdlib>#include <cmath>#include <cstring>#include <algorithm>#include...原创 2019-04-01 00:29:57 · 195 阅读 · 0 评论