摘要:You are given a binary string s consisting of n zeros and ones. Your task is to divide the given string into the minimum number of subsequences in suc 阅读全文
posted @ 2020-08-07 15:26 脂环 阅读(21) 评论(0) 推荐(0) 编辑
摘要:There are n people who want to participate in a boat competition. The weight of the i -th participant is wi. Only teams consisting of two people can p 阅读全文
posted @ 2020-08-07 15:02 脂环 阅读(35) 评论(0) 推荐(0) 编辑
摘要:You have n gifts and you want to give all of them to children. Of course, you don't want to offend anyone, so all gifts should be equal between each o 阅读全文
posted @ 2020-08-07 14:34 脂环 阅读(12) 评论(0) 推荐(1) 编辑
摘要:You are given the array aa a consisting of n positive (greater than zero) integers. In one move, you can choose two indices i and j (i≠j) such that th 阅读全文
posted @ 2020-08-07 14:21 脂环 阅读(25) 评论(0) 推荐(0) 编辑
摘要:Problem Description An undirected connected graph has n n nodes and m m edges, The i -th edge’s length is $2^i$, Each node i has a value \(a_i\) , whi 阅读全文
posted @ 2020-08-07 00:27 脂环 阅读(35) 评论(0) 推荐(0) 编辑
摘要:Problem Description You are given two 10-based integers b and x, and you are required to determine the following proposition is true or false: For arb 阅读全文
posted @ 2020-08-06 21:35 脂环 阅读(56) 评论(0) 推荐(1) 编辑
摘要:01 A 什么是凸包? NailslnTheTable PaintBlending ColorSpace ConvexHull:所有分量总和为100%且非负。 B Extremity(极性) 极点(Extreme Point):在一组点中,沿着这个点座直线,必然能找到一条直线,使得其他所有点都在该直 阅读全文
posted @ 2020-08-06 20:47 脂环 阅读(9) 评论(0) 推荐(0) 编辑
摘要:Problem Description Little Rabbit is interested in radix. In a positional numeral system, the radix is the number of unique digits, including the digi 阅读全文
posted @ 2020-08-06 18:56 脂环 阅读(75) 评论(0) 推荐(0) 编辑
摘要:There is a piece of paper in rectangular shape with sufficient length and width (lay flat on the table). Execute an operation instruction according to 阅读全文
posted @ 2020-08-05 17:18 脂环 阅读(23) 评论(0) 推荐(0) 编辑
摘要:Generate three integers \(a\), \(b\), and \(c\) in \([1,n]\) with equal probability independently, and use them as the three right-angle side length o 阅读全文
posted @ 2020-08-05 16:35 脂环 阅读(12) 评论(0) 推荐(0) 编辑