上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 66 下一页
摘要: [USACO07DEC] Sightseeing Cows G 题目描述 Farmer John has decided to reward his cows for their hard work by taking them on a tour of the big city! The cows 阅读全文
posted @ 2023-12-30 16:05 onlyblues 阅读(82) 评论(0) 推荐(0)
摘要: G. Bicycles All of Slavic's friends are planning to travel from the place where they live to a party using their bikes. And they all have a bike excep 阅读全文
posted @ 2023-12-29 16:07 onlyblues 阅读(186) 评论(0) 推荐(0)
摘要: E2. Game with Marbles (Hard Version) The easy and hard versions of this problem differ only in the constraints on the number of test cases and $n$. In 阅读全文
posted @ 2023-12-28 21:18 onlyblues 阅读(219) 评论(0) 推荐(0)
摘要: C. Heavy Intervals You have $n$ intervals $[l_1, r_1], [l_2, r_2], \dots, [l_n, r_n]$, such that $l_i < r_i$ for each $i$, and all the endpoints of th 阅读全文
posted @ 2023-12-27 22:38 onlyblues 阅读(117) 评论(0) 推荐(0)
摘要: D. Yet Another Inversions Problem You are given a permutation $p_0, p_1, \ldots, p_{n-1}$ of odd integers from $1$ to $2n-1$ and a permutation $q_0, q 阅读全文
posted @ 2023-12-26 23:23 onlyblues 阅读(137) 评论(0) 推荐(0)
摘要: G2. Light Bulbs (Hard Version) The easy and hard versions of this problem differ only in the constraints on $n$. In the hard version, the sum of value 阅读全文
posted @ 2023-12-24 21:30 onlyblues 阅读(197) 评论(0) 推荐(0)
摘要: E. Physical Education Lessons This year Alex has finished school, and now he is a first-year student of Berland State University. For him it was a tot 阅读全文
posted @ 2023-12-22 17:02 onlyblues 阅读(65) 评论(0) 推荐(0)
摘要: D. Array Collapse You are given an array $[p_1, p_2, \dots, p_n]$, where all elements are distinct. You can perform several (possibly zero) operations 阅读全文
posted @ 2023-12-19 20:20 onlyblues 阅读(209) 评论(0) 推荐(0)
摘要: D. Cyclic MEX For an array $a$, define its cost as $\sum_{i=1}^{n} \operatorname{mex} ^\dagger ([a_1,a_2,\ldots,a_i])$. You are given a permutation$^\ 阅读全文
posted @ 2023-12-18 19:58 onlyblues 阅读(176) 评论(0) 推荐(2)
摘要: C - Not So Consecutive Problem Statement You are given an integer $N$. An integer sequence $x=(x_1,x_2,\cdots,x_N)$ of length $N$ is called a good seq 阅读全文
posted @ 2023-12-14 16:50 onlyblues 阅读(91) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 66 下一页
Web Analytics