2 我i是超人

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 29w+

A. Case of the Zeros and Ones

A. Case of the Zeros and OnesAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he thought about a string of length n consisting of zeroes and ones. Consider the following op

2020-08-06 12:35:01

A. Cashier

A. CashierVasya has recently got a job as a cashier at a local store. His day at work is L minutes long. Vasya has already memorized n regular customers, the i-th of which comes after ti minutes after the beginning of the day, and his service consumes li

2020-08-03 19:25:32

A. Laptops

A. LaptopsOne day Dima and Alex had an argument about the price and quality of laptops. Dima thinks that the more expensive a laptop is, the better it is. Alex disagrees. Alex thinks that there are two laptops, such that the price of the first laptop is l

2020-08-03 16:59:17

A. Holidays

A. HolidaysOn the planet Mars a year lasts exactly n days (there are no leap years on Mars). But Martians have the same weeks as earthlings — 5 work days and then 2 days off. Your task is to determine the minimum possible and the maximum possible number o

2020-08-03 16:21:13

A. Free Cash

A. Free CashValera runs a 24/7 fast food cafe. He magically learned that next day n people will visit his cafe. For each person we know the arrival time: the i-th person comes exactly at h i hours m i minutes. The cafe spends less than a minute to serve e

2020-08-03 10:09:33

A. Minimal Square

A. Minimal SquareFind the minimum area of a square land on which you can place two identical rectangular a×b houses. The sides of the houses should be parallel to the sides of the desired square land.Formally,You are given two identical rectangles with

2020-08-02 15:56:09

B. Interesting drink

B. Interesting drinkVasiliy likes to rest after a hard work, so you may often meet him in some bar nearby. As all programmers do, he loves the famous drink “Beecola”, which can be bought in n different shops in the city. It’s known that the price of one b

2020-08-02 13:06:30

A. Boredom

A. BoredomAlex doesn’t like boredom. That’s why whenever he gets bored, he comes up with games. One long winter evening he came up with a game and decided to play it.Given a sequence a consisting of n integers. The player can make several steps. In a sin

2020-08-01 21:53:39

C. Given Length and Sum of Digits...

#C. Given Length and Sum of Digits…You have a positive integer m and a non-negative integer s. Your task is to find the smallest and the largest of the numbers that have length m and sum of digits s. The required numbers should be non-negative integers wr

2020-08-01 16:52:45

1352A - Sum of Round Numbers

#1352A - Sum of Round NumbersA positive (strictly greater than zero) integer is called round if it is of the form d00…0. In other words, a positive integer is round if all its digits except the leftmost (most significant) are equal to zero. In particular,

2020-08-01 15:45:52

A. Candies and Two Sisters

#A. Candies and Two SistersThere are two sisters Alice and Betty. You have n candies. You want to distribute these n candies between two sisters in such a way that:Alice will get a (a>0) candies;Betty will get b (b>0) candies;each sister will get

2020-08-01 11:04:04

A. Divisibility Problem

#A. Divisibility ProblemYou are given two positive integers a and b. In one move you can increase a by 1 (replace a with a+1). Your task is to find the minimum number of moves you need to do in order to make a divisible by b. It is possible, that you have

2020-08-01 10:45:00

9A - Die Roll

A. Die Rolltime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputYakko, Wakko and Dot, world-famous animaniacs, decided to rest from acting in cartoo...

2019-05-22 20:41:08

363B - Fence//比较连续木板的长度

B. Fencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a fence in front of Polycarpus’s home. The fence consists of n planks of the ...

2019-05-22 15:26:53

1091A - New Year and the Christmas Ornament

A. New Year and the Christmas Ornamenttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice and Bob are decorating a Christmas Tree.Alice wan...

2019-05-19 19:26:56

621A - Wet Shark and Odd and Even

A. Wet Shark and Odd and Eventime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, Wet Shark is given n integers. Using any of these integer...

2019-05-19 18:43:17

567A - Lineland Mail

A. Lineland Mailtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAll cities of Lineland are located on the Ox coordinate axis. Thus, each city...

2019-05-19 17:56:19

349A - Cinema Line

A. Cinema Linetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe new “Die Hard” movie has just been released! There are n people at the cine...

2019-05-19 17:07:07

474A - Keyboard

A. Keyboardtimelimit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOur good friend Mole is trying to code a big message. He is typing on an unusual ke...

2019-05-10 20:00:47

1108B - Divisors of Two Integers

B. Divisors of Two Integerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently you have received two positive integer numbers x and y. Y...

2019-05-10 19:32:52

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv3
    勤写标兵Lv3
    授予每个自然周发布7篇到8篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。