随笔分类 - ——————————
摘要:Marvolo Gaunt's Ring Professor Dumbledore is helping Harry destroy the Horcruxes. He went to Gaunt Shack as he suspected a Horcrux to...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:Which floor? In a building where Polycarp lives there are equal number of flats on each floor. Unfortunately, Polycarp don't remember ...
阅读全文
摘要:Nikita and stringOne day Nikita found the string containing letters "a" and "b" only.Nikita thinks that string is beautiful if it can ...
阅读全文
摘要:Divisiblity of DifferencesYou are given a multiset of n integers. You should select exactly k of them in a such way that the differenc...
阅读全文
摘要:Sorting the CoinsRecently, Dima met with Sasha in a philatelic store, and since then they are collecting coins together. Their favorit...
阅读全文
摘要: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.....
阅读全文
摘要:C. Solution for Cubetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the b...
阅读全文
摘要:Lazy Security Guard Your security guard friend recently got a new job at a new security company. The company requires him to patrol a...
阅读全文
摘要:Mahmoud and Ehab and the bipartitenessMahmoud and Ehab continue their adventures! As everybody in the evil land knows, Dr. Evil likes ...
阅读全文
摘要:KayakingVadim is really keen on travelling. Recently he heard about kayaking activity near his town and became very excited about it, ...
阅读全文
摘要:Polycarp and LettersPolycarp loves lowercase letters and dislikes uppercase ones. Once he got a string s consisting only of lowercase...
阅读全文
摘要: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...
阅读全文
摘要: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 ...
阅读全文
摘要:The Eternal ImmortalityEven if the world is full of counterfeits, I still regard it as wonderful.Pile up herbs and incense, and arise ...
阅读全文
摘要: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...
阅读全文

浙公网安备 33010602011771号