摘要: D2. RGB Substring (hard version) inputstandard input outputstandard output The only difference between easy and hard versions is the size of the input 阅读全文
posted @ 2019-07-27 16:21 qscqesze 阅读(443) 评论(0) 推荐(0) 编辑
摘要: D. Yet Another Subarray Problem You are given an array $a_1, a_2, \dots , a_n$ and two integers $m$ and $k$. You can choose some subarray $a_l, a_{l+1 阅读全文
posted @ 2019-07-27 15:30 qscqesze 阅读(345) 评论(0) 推荐(0) 编辑
摘要: C. Array Splitting You are given a sorted array 𝑎1,𝑎2,…,𝑎𝑛 (for each index 𝑖 1 condition 𝑎𝑖≥𝑎𝑖−1 holds) and an integer 𝑘. You are asked to d 阅读全文
posted @ 2019-07-27 14:50 qscqesze 阅读(243) 评论(0) 推荐(0) 编辑