- 博客(10)
- 收藏
- 关注
原创 20200704B - Two Buttons
Vasya has found a strange device. On the front panel of a device there are: a red button, a blue button and a display showing some positive integer. After clicking the red button, device multiplies the displayed number by two. After clicking the blue butto
2020-07-05 10:15:58
203
原创 2020.5.25 A - Team
One day three best friends Petya, Vasya and Tonya decided to form ateam and take part in programming contests. Participants are usuallyoffered several problems during programming contests. Long before thestart the friends decided that they will impleme.
2020-05-25 20:16:17
244
原创 20200519————A(题解)
A - Paper WorkPolycarpus has been working in the analytic department of the “F.R.A.U.D.” company for as much as n days. Right now his task is to make a series of reports about the company’s performance for the last n days. We know that the main informatio
2020-05-19 20:29:02
312
原创 凉肝的比赛 E - Deadline
Adilbek was assigned to a special project. For Adilbek it means that he has n days to run a special program and provide its results. But there is a problem: the program needs to run for d days to calc...
2020-01-17 01:12:42
356
原创 凉肝的比赛 A - Mezo Playing Zoma
Today, Mezo is playing a game. Zoma, a character in that game, is initially at position x=0. Mezo starts sending n commands to Zoma. There are two possible commands:‘L’ (Left) sets the position x:=x−...
2020-01-17 00:21:56
315
原创 新生赛003 F - 法法要穿过大门
Two neighboring kingdoms decided to build a wall between them with some gates to enable the citizens to go from one kingdom to another. Each time a citizen passes through a gate, he has to pay one sil...
2020-01-10 19:12:53
318
原创 新生赛003 E fafa在分配工作
Fafa owns a company that works on huge projects. There are n employees in Fafa’s company. Whenever the company has a new project to start working on, Fafa has to divide the tasks of this project among...
2020-01-10 19:02:57
254
原创 新生赛002 G
Alex likes to play with one and zero!One day he gets an empty string.So our cute boy wants to add one and zero in it. Every time he will add ‘01’in the string at any position and then get a new string...
2020-01-06 21:27:49
274
原创 新生赛002 j题
Frog Wa has many frogs, so he can hear GuaGuaGua every day. But one day a flappy bird ate his frogs, so Frog Wa decided to build a fence to protect his precious frogs. Frog Wa told you four points (x,...
2020-01-05 19:32:30
291
原创 新生赛002 H
A string is called beautiful if no two consecutive characters are equal. For example, “ababcb”, “a” and “abab” are beautiful strings, while “aaaaaa”, “abaa” and “bb” are not.Ahcl wants to construct a...
2020-01-04 22:11:06
229
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅