随笔分类 -  ——————————

摘要:Marvolo Gaunt's Ring Professor Dumbledore is helping Harry destroy the Horcruxes. He went to Gaunt Shack as he suspected a Horcrux to... 阅读全文
posted @ 2017-11-12 16:51 _大美 阅读(178) 评论(0) 推荐(0)
摘要:Maxim Buys an ApartmentMaxim wants to buy an apartment in a new house at Line Avenue of Metropolis. The house has n apartments that a... 阅读全文
posted @ 2017-11-12 16:45 _大美 阅读(201) 评论(0) 推荐(0)
摘要:Pie RulesYou may have heard of the pie rule before. It states that if two people wish to fairly share a slice of pie, one person shoul... 阅读全文
posted @ 2017-11-12 16:31 _大美 阅读(128) 评论(0) 推荐(0)
摘要:Did you mean...Beroffice text editor has a wide range of features that help working with text. One of the features is an automatic sea... 阅读全文
posted @ 2017-11-12 16:14 _大美 阅读(222) 评论(0) 推荐(0)
摘要:Which floor? In a building where Polycarp lives there are equal number of flats on each floor. Unfortunately, Polycarp don't remember ... 阅读全文
posted @ 2017-11-12 16:09 _大美 阅读(212) 评论(0) 推荐(0)
摘要:Nikita and stringOne day Nikita found the string containing letters "a" and "b" only.Nikita thinks that string is beautiful if it can ... 阅读全文
posted @ 2017-11-12 15:15 _大美 阅读(192) 评论(0) 推荐(0)
摘要:Divisiblity of DifferencesYou are given a multiset of n integers. You should select exactly k of them in a such way that the differenc... 阅读全文
posted @ 2017-11-12 15:10 _大美 阅读(208) 评论(0) 推荐(0)
摘要:Sorting the CoinsRecently, Dima met with Sasha in a philatelic store, and since then they are collecting coins together. Their favorit... 阅读全文
posted @ 2017-11-12 15:00 _大美 阅读(201) 评论(0) 推荐(0)
摘要:Balanced SubstringYou are given a string s consisting only of characters 0 and 1. A substring [l, r] of s is a string slsl + 1sl + 2..... 阅读全文
posted @ 2017-11-12 14:35 _大美 阅读(232) 评论(0) 推荐(0)
摘要:C. Solution for Cubetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the b... 阅读全文
posted @ 2017-11-05 16:21 _大美 阅读(248) 评论(0) 推荐(0)
摘要:Lazy Security Guard Your security guard friend recently got a new job at a new security company. The company requires him to patrol a... 阅读全文
posted @ 2017-10-31 20:08 _大美 阅读(271) 评论(0) 推荐(0)
摘要:Mahmoud and Ehab and the bipartitenessMahmoud and Ehab continue their adventures! As everybody in the evil land knows, Dr. Evil likes ... 阅读全文
posted @ 2017-10-31 19:58 _大美 阅读(227) 评论(0) 推荐(0)
摘要:KayakingVadim is really keen on travelling. Recently he heard about kayaking activity near his town and became very excited about it, ... 阅读全文
posted @ 2017-10-31 19:49 _大美 阅读(356) 评论(0) 推荐(0)
摘要:Polycarp and LettersPolycarp loves lowercase letters and dislikes uppercase ones. Once he got a string s consisting only of lowercase... 阅读全文
posted @ 2017-10-31 19:40 _大美 阅读(153) 评论(0) 推荐(0)
摘要:Save the problem!Attention: we lost all the test cases for this problem, so instead of solving the problem, we need you to generate te... 阅读全文
posted @ 2017-10-31 19:25 _大美 阅读(252) 评论(0) 推荐(0)
摘要:Race Against TimeHave you ever tried to explain to the coordinator, why it is eight hours to the contest and not a single problem has ... 阅读全文
posted @ 2017-10-31 19:09 _大美 阅读(128) 评论(0) 推荐(0)
摘要:The Eternal ImmortalityEven if the world is full of counterfeits, I still regard it as wonderful.Pile up herbs and incense, and arise ... 阅读全文
posted @ 2017-10-31 18:53 _大美 阅读(168) 评论(0) 推荐(0)
摘要:Maximum of Maximums of Minimums You are given an array a1, a2, ..., an consisting of n integers, and an integer k. You have to split t... 阅读全文
posted @ 2017-10-31 16:58 _大美 阅读(201) 评论(0) 推荐(0)