随笔分类 -  0J---Codeforces

摘要:A. Olympiad 题目链接:http://codeforces.com/problemset/problem/937/A time limit per test 1 second time limit per test memory limit per test 256 megabytes m 阅读全文
posted @ 2018-03-01 19:22 wydxry 阅读(282) 评论(0) 推荐(0) 编辑
摘要:题目链接:http://codeforces.com/problemset/problem/124/A Petr stands in line of n people, but he doesn't know exactly which position he occupies. He can sa 阅读全文
posted @ 2017-09-04 21:04 wydxry 阅读(387) 评论(0) 推荐(0) 编辑
摘要:题目链接:http://codeforces.com/problemset/problem/456/A One day Dima and Alex had an argument about the price and quality of laptops. Dima thinks that the 阅读全文
posted @ 2017-09-04 20:30 wydxry 阅读(509) 评论(0) 推荐(0) 编辑
摘要:题目链接:http://codeforces.com/problemset/problem/237/A Valera runs a 24/7 fast food cafe. He magically learned that next day n people will visit his cafe 阅读全文
posted @ 2017-09-04 20:00 wydxry 阅读(347) 评论(0) 推荐(0) 编辑
摘要:题目链接:http://codeforces.com/problemset/problem/841/B Leha somehow found an array consisting of n integers. Looking at it, he came up with a task. Two p 阅读全文
posted @ 2017-08-25 15:35 wydxry 阅读(353) 评论(0) 推荐(0) 编辑
摘要:题目链接:http://codeforces.com/problemset/problem/841/A One day Kefa found n baloons. For convenience, we denote color of i-th baloon as si — lowercase le 阅读全文
posted @ 2017-08-25 15:14 wydxry 阅读(442) 评论(0) 推荐(0) 编辑
摘要:Manao is trying to open a rather challenging lock. The lock has n buttons on it and to open it, you should press the buttons in a certain order to ope 阅读全文
posted @ 2017-08-17 14:39 wydxry 阅读(496) 评论(0) 推荐(0) 编辑
摘要:You are a lover of bacteria. You want to raise some bacteria in a box. Initially, the box is empty. Each morning, you can put any number of bacteria i 阅读全文
posted @ 2017-08-17 14:26 wydxry 阅读(438) 评论(0) 推荐(0) 编辑
摘要:Amr loves Geometry. One day he came up with a very interesting problem. Amr has a circle of radius r and center in point (x, y). He wants the circle c 阅读全文
posted @ 2017-08-01 16:43 wydxry 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Some natural number was written on the board. Its sum of digits was not less than k. But you were distracted a bit, and someone changed this number to 阅读全文
posted @ 2017-08-01 10:54 wydxry 阅读(492) 评论(0) 推荐(0) 编辑
摘要:Two boys decided to compete in text typing on the site "Key races". During the competition, they have to type a text consisting of s characters. The f 阅读全文
posted @ 2017-08-01 10:50 wydxry 阅读(368) 评论(0) 推荐(0) 编辑
摘要:Yaroslav has an array that consists of n integers. In one second Yaroslav can swap two neighboring array elements. Now Yaroslav is wondering if he can 阅读全文
posted @ 2017-07-31 17:20 wydxry 阅读(278) 评论(0) 推荐(0) 编辑
摘要:Shaass has decided to hunt some birds. There are n horizontal electricity wires aligned parallel to each other. Wires are numbered 1 to nfrom top to b 阅读全文
posted @ 2017-07-31 16:56 wydxry 阅读(308) 评论(0) 推荐(0) 编辑
摘要:In the city of Ultima Thule job applicants are often offered an IQ test. The test is as follows: the person gets a piece of squared paper with a 4 × 4 阅读全文
posted @ 2017-07-31 16:21 wydxry 阅读(409) 评论(0) 推荐(0) 编辑
摘要:A few years ago, Hitagi encountered a giant crab, who stole the whole of her body weight. Ever since, she tried to avoid contact with others, for fear 阅读全文
posted @ 2017-07-31 15:51 wydxry 阅读(198) 评论(0) 推荐(0) 编辑
摘要:Very soon there will be a parade of victory over alien invaders in Berland. Unfortunately, all soldiers died in the war and now the army consists of e 阅读全文
posted @ 2017-07-31 15:27 wydxry 阅读(321) 评论(0) 推荐(0) 编辑
摘要:Bear Limak wants to become the largest of bears, or at least to become larger than his brother Bob. Right now, Limak and Bob weigh a and b respectivel 阅读全文
posted @ 2017-07-31 14:41 wydxry 阅读(340) 评论(0) 推荐(0) 编辑
摘要:Emuskald needs a fence around his farm, but he is too lazy to build it himself. So he purchased a fence-building robot. He wants the fence to be a reg 阅读全文
posted @ 2017-07-31 11:46 wydxry 阅读(425) 评论(0) 推荐(0) 编辑
摘要:Two players play a simple game. Each player is provided with a box with balls. First player's box contains exactly n1 balls and second player's box co 阅读全文
posted @ 2017-07-31 11:27 wydxry 阅读(302) 评论(0) 推荐(0) 编辑
摘要:Ted has a pineapple. This pineapple is able to bark like a bulldog! At time t (in seconds) it barks for the first time. Then every s seconds after it, 阅读全文
posted @ 2017-07-31 11:14 wydxry 阅读(284) 评论(0) 推荐(0) 编辑

Live2D