摘要: 2025.1.21——1300 A 1300 Qingshan has a string \(s\) which only contains \(\texttt{0}\) and \(\texttt{1}\). A string \(a\) of length \(k\) is good if an 阅读全文
posted @ 2025-01-22 11:13 Jkke 阅读(21) 评论(0) 推荐(0)
摘要: 2025.1.20——1300 A 1300 You are given a binary string \(s\). A binary string is a string consisting of characters 0 and/or 1. You can perform the follo 阅读全文
posted @ 2025-01-21 22:33 Jkke 阅读(21) 评论(0) 推荐(0)
摘要: 2025.1.19——1300 A 1300 You are given an array \(a\) consisting of \(n\) positive integers. You can perform the following operation on it: Choose a pai 阅读全文
posted @ 2025-01-20 19:24 Jkke 阅读(47) 评论(0) 推荐(0)
摘要: 2025.1.18——1300 A 1300 There are \(n\) cities located on the number line, the \(i\)-th city is in the point \(a_i\). The coordinates of the cities are 阅读全文
posted @ 2025-01-19 22:05 Jkke 阅读(40) 评论(0) 推荐(0)
摘要: 2025.1.17——1200 Q1. 1200 Jellyfish has \(n\) green apples with values \(a_1, a_2, \dots, a_n\) and Gellyfish has \(m\) green apples with values \(b_1, 阅读全文
posted @ 2025-01-18 20:01 Jkke 阅读(46) 评论(0) 推荐(0)
摘要: 2025.1.16——1200 Q1. 1200 You are given \(3\) integers — \(n\), \(x\), \(y\). Let's call the score of a permutation\(^\dagger\) \(p_1, \ldots, p_n\) th 阅读全文
posted @ 2025-01-17 18:48 Jkke 阅读(25) 评论(0) 推荐(0)
摘要: 2025.1.15——1200 Q1. 1200 简单来说就是给定3个数组,每个数组选择一个数,三者下标不同,问三者和的最大值。 Winter holidays are coming up. They are going to last for \(n\) days. During the holi 阅读全文
posted @ 2025-01-16 12:25 Jkke 阅读(16) 评论(0) 推荐(0)
摘要: 2025.1.14——1200 Q1. 1200 You have \(n\) sticks, numbered from \(1\) to \(n\). The length of the \(i\)-th stick is \(2^{a_i}\). You want to choose exac 阅读全文
posted @ 2025-01-15 21:04 Jkke 阅读(23) 评论(0) 推荐(0)
摘要: 2025.1.12——1200 Q1. 1200 You are given a sequence \(a\), consisting of \(n\) integers, where the \(i\)-th element of the sequence is equal to \(a_i\). 阅读全文
posted @ 2025-01-14 19:14 Jkke 阅读(43) 评论(0) 推荐(0)
摘要: 2025.1.5——1200 Q1. 1200 Kevin discovered a binary string $s$ that starts with 1 in the river at Moonlit River Park and handed it over to you. Your tas 阅读全文
posted @ 2025-01-14 18:51 Jkke 阅读(14) 评论(0) 推荐(0)