Codeforces 1082E - Increasing Frequency - 动态规划题解链接https://lucien.ink题目链接https://codeforces.com/contest/1082/problem/E题目You are given array $a$ of length $n$. You can choose one segment $[l, r]$ ($1...
题目题目描述JSZKC is the captain of the lala team. There are N girls in the lala team. And their height is [1,N] and distinct. So it means there are no two girls with a same height. JSZKC has to arrang...
题目链接http://codeforces.com/contest/987/problem/C题目It is the middle of 2018 and Maria Stepanovna, who lives outside Krasnokamensk (a town in Zabaikalsky region), wants to rent three displays to highl...
题目链接https://arc060.contest.atcoder.jp/tasks/arc060_a题目Problem StatementTak has $N$ cards. On the $i$-th $(1≤i≤N)$ card is written an integer $x_i$. He is selecting one or more cards from these $N$ ...
题目链接https://arc059.contest.atcoder.jp/tasks/arc059_d题目Problem StatementSig has built his own keyboard. Designed for ultimate simplicity, this keyboard only has $3$ keys on it: the 0 key, the 1 key ...