摘要:
There are nn people in a row. The height of the ii-th person is aiai. You can choose any subset of these people and try to arrange them into a balance 阅读全文
摘要:
Polycarp has to solve exactly nn problems to improve his programming skill before an important programming competition. But this competition will be h 阅读全文