摘要:
C. Candy Store The store sells $n$ types of candies with numbers from $1$ to $n$. One candy of type $i$ costs $b_i$ coins. In total, there are $a_i$ c 阅读全文
摘要:
D. Binary String Sorting You are given a binary string $s$ consisting of only characters 0 and/or 1. You can perform several operations on this string 阅读全文
摘要:
C. Sequence Master For some positive integer $m$, YunQian considers an array $q$ of $2m$ (possibly negative) integers good, if and only if for every p 阅读全文
摘要:
E. Music Festival The boy Vitya loves to listen to music very much. He knows that $n$ albums are due to be released this Friday, $i$-th of which conta 阅读全文
摘要:
C. The Very Beautiful Blanket Kirill wants to weave the very beautiful blanket consisting of $n \times m$ of the same size square patches of some colo 阅读全文
摘要:
C. Pull Your Luck While James is gone on business, Vesper takes her time and explores what the legendary Casino Royale has to offer to people who are 阅读全文
摘要:
A. Lame King You are given a checkerboard of size $201 \times 201$, i. e. it has $201$ rows and $201$ columns. The rows of this checkerboard are numbe 阅读全文