摘要: 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 _大美 阅读(223) 评论(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 _大美 阅读(213) 评论(0) 推荐(0)
摘要: Table Tennis n people are standing in a line to play table tennis. At first, the first two players in the line play a game. Then the ... 阅读全文
posted @ 2017-11-12 15:49 _大美 阅读(287) 评论(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 _大美 阅读(194) 评论(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)