摘要:
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..... 阅读全文