上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 63 下一页
摘要: C. Candy Store The store sells $n$ types of candies with numbers from $1$ to $n$. One candy of type $i$ costs $b_i$ coins. In total, there are $a_i$ c 阅读全文
posted @ 2023-03-27 23:00 onlyblues 阅读(168) 评论(0) 推荐(0)
摘要: D. Binary String Sorting You are given a binary string $s$ consisting of only characters 0 and/or 1. You can perform several operations on this string 阅读全文
posted @ 2023-03-24 10:08 onlyblues 阅读(248) 评论(0) 推荐(0)
摘要: 最长公共上升子序列 熊大妈的奶牛在小沐沐的熏陶下开始研究信息题目。 小沐沐先让奶牛研究了最长上升子序列,再让他们研究了最长公共子序列,现在又让他们研究最长公共上升子序列了。 小沐沐说,对于两个数列 $A$ 和 $B$,如果它们都包含一段位置不一定连续的数,且数值是严格递增的,那么称这一段数是两个数列 阅读全文
posted @ 2023-03-21 12:00 onlyblues 阅读(69) 评论(0) 推荐(0)
摘要: C. Sequence Master For some positive integer $m$, YunQian considers an array $q$ of $2m$ (possibly negative) integers good, if and only if for every p 阅读全文
posted @ 2023-03-19 18:01 onlyblues 阅读(247) 评论(0) 推荐(0)
摘要: 关押罪犯 $S$ 城现有两座监狱,一共关押着 $N$ 名罪犯,编号分别为 $1 \sim N$。 他们之间的关系自然也极不和谐。 很多罪犯之间甚至积怨已久,如果客观条件具备则随时可能爆发冲突。 我们用“怨气值”(一个正整数值)来表示某两名罪犯之间的仇恨程度,怨气值越大,则这两名罪犯之间的积怨越多。 阅读全文
posted @ 2023-03-17 20:07 onlyblues 阅读(51) 评论(0) 推荐(0)
摘要: E. Music Festival The boy Vitya loves to listen to music very much. He knows that $n$ albums are due to be released this Friday, $i$-th of which conta 阅读全文
posted @ 2023-03-15 12:17 onlyblues 阅读(43) 评论(0) 推荐(0)
摘要: C. The Very Beautiful Blanket Kirill wants to weave the very beautiful blanket consisting of $n \times m$ of the same size square patches of some colo 阅读全文
posted @ 2023-03-15 09:18 onlyblues 阅读(133) 评论(0) 推荐(0)
摘要: C. Pull Your Luck While James is gone on business, Vesper takes her time and explores what the legendary Casino Royale has to offer to people who are 阅读全文
posted @ 2023-03-14 20:11 onlyblues 阅读(258) 评论(0) 推荐(0)
摘要: A. Lame King You are given a checkerboard of size $201 \times 201$, i. e. it has $201$ rows and $201$ columns. The rows of this checkerboard are numbe 阅读全文
posted @ 2023-03-14 17:07 onlyblues 阅读(75) 评论(0) 推荐(0)
摘要: 前言 由于解决这个问题的做法完全是我个人主观完成的,因此可能会存在很严重的错误,如果发现任何的问题与错误请在评论区进行提出指正。还有这个问题在数论中应该有个专业的名词,如果有人知道的话也麻烦在评论区留言告知。 正文 本文尝试解决的问题为:对于 $\forall x \in \mathbb{Z}$ 多 阅读全文
posted @ 2023-03-14 15:20 onlyblues 阅读(69) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 63 下一页
Web Analytics