上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 63 下一页
摘要: C. Save the Magazines Monocarp has been collecting rare magazines for quite a while, and now he has decided to sell them. He distributed the magazines 阅读全文
posted @ 2022-10-21 23:20 onlyblues 阅读(150) 评论(0) 推荐(0)
摘要: E2. Divisible Numbers (hard version) This is an hard version of the problem. The only difference between an easy and a hard version is the constraints 阅读全文
posted @ 2022-10-19 20:12 onlyblues 阅读(116) 评论(0) 推荐(0)
摘要: E1. Divisible Numbers (easy version) This is an easy version of the problem. The only difference between an easy and a hard version is the constraints 阅读全文
posted @ 2022-10-19 19:37 onlyblues 阅读(318) 评论(0) 推荐(3)
摘要: Count Subarrays With Fixed Bounds You are given an integer array nums and two integers minK and maxK . A fixed-bound subarray of nums is a subarray th 阅读全文
posted @ 2022-10-16 16:58 onlyblues 阅读(58) 评论(0) 推荐(0)
摘要: Minimize Maximum of Array You are given a 0-indexed array nums comprising of $n$ non-negative integers. In one operation, you must: Choose an integer 阅读全文
posted @ 2022-10-16 15:13 onlyblues 阅读(149) 评论(0) 推荐(0)
摘要: 最短路程 给定一个 $n$ 个节点的树。 节点编号为 $1 \sim n$。 树中所有边均为双向边,且长度均已知。 你需要从 $1$ 号点出发,沿着一条路径遍历树中所有点,路径中可以包含重复的点和边。 要求,你的行程总长度应尽可能短。 请你计算,你所需的行程总长度的最小可能值。 注意,你可以在任意点 阅读全文
posted @ 2022-10-16 11:48 onlyblues 阅读(66) 评论(0) 推荐(0)
摘要: F. Multi-Colored Segments Dmitry has $n$ segments of different colors on the coordinate axis $Ox$. Each segment is characterized by three integers $l_ 阅读全文
posted @ 2022-10-15 19:52 onlyblues 阅读(120) 评论(0) 推荐(0)
摘要: E. Sending a Sequence Over the Network The sequence $a$ is sent over the network as follows: sequence $a$ is split into segments (each element of the 阅读全文
posted @ 2022-10-13 12:01 onlyblues 阅读(128) 评论(0) 推荐(0)
摘要: D. Equal Binary Subsequences Everool has a binary string $s$ of length $2n$. Note that a binary string is a string consisting of only characters $0$ a 阅读全文
posted @ 2022-10-11 19:37 onlyblues 阅读(129) 评论(0) 推荐(0)
摘要: C1. Good Subarrays (Easy Version) This is the easy version of this problem. In this version, we do not have queries. Note that we have multiple test c 阅读全文
posted @ 2022-10-11 16:08 onlyblues 阅读(172) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 63 下一页
Web Analytics