上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 41 下一页
摘要: 人的一生不仅要靠自我奋斗,还要考虑到历史的行程。 历史的行程可以抽象成一个 01 串,作为一个年纪比较大的人,你希望从历史的行程中获得一些姿势。 你发现在历史的不同时刻,不断的有相同的事情发生。比如,有两个人同时在世纪之交 $1$ 年的时候上台,同样喜欢与洋人谈笑风生,同样提出了以「三」字开头的理论 阅读全文
posted @ 2023-07-31 23:03 灰鲭鲨 阅读(42) 评论(0) 推荐(0)
摘要: # XOR Partition ## 题目描述 For a set of integers $ S $ , let's define its cost as the minimum value of $ x \oplus y $ among all pairs of different intege 阅读全文
posted @ 2023-07-29 19:41 灰鲭鲨 阅读(60) 评论(0) 推荐(0)
摘要: ## 题目描述 猎人杀是一款风靡一时的游戏“狼人杀”的民间版本,他的规则是这样的: 一开始有 $n$ 个猎人,第 $i$ 个猎人有仇恨度 $w_i$ ,每个猎人只有一个固定的技能:死亡后必须开一枪,且被射中的人也会死亡。 然而向谁开枪也是有讲究的,假设当前还活着的猎人有 $[i_1\ldots i_ 阅读全文
posted @ 2023-07-28 07:16 灰鲭鲨 阅读(51) 评论(0) 推荐(0)
摘要: Problem StatementYou are given a set $S$ of strings consisting of 0 and 1, and an integer $K$. Find the longest string that is a subsequence of $K$ or 阅读全文
posted @ 2023-07-26 12:09 灰鲭鲨 阅读(21) 评论(0) 推荐(0)
摘要: # Optimal Insertion ## 题面翻译 ### 题目大意 给定两个序列 $a,b$,长度分别为 $n,m(1\leq n,m\leq 10^6)$。接下来将 $b$ 中的所有元素以**任意方式**插入序列 $a$ 中**任意位置**,请找出一种插入方式使结果序列中的逆序对数量最小化, 阅读全文
posted @ 2023-07-26 11:51 灰鲭鲨 阅读(15) 评论(0) 推荐(0)
摘要: ## 题目描述 You are given a tree with $ n $ nodes labelled $ 1,2,\dots,n $ . The $ i $ -th edge connects nodes $ u_i $ and $ v_i $ and has an unknown posi 阅读全文
posted @ 2023-07-26 09:09 灰鲭鲨 阅读(38) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-25 20:38 灰鲭鲨 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-25 20:25 灰鲭鲨 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-25 19:57 灰鲭鲨 阅读(1) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-25 19:52 灰鲭鲨 阅读(0) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 41 下一页