上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 63 下一页
摘要: G2. Yunli's Subarray Queries (hard version) This is the hard version of the problem. In this version, it is guaranteed that $r \geq l+k-1$ for all que 阅读全文
posted @ 2024-09-05 22:55 onlyblues 阅读(245) 评论(0) 推荐(0)
摘要: H. Sakurako's Test Sakurako will soon take a test. The test can be described as an array of integers $n$ and a task on it: Given an integer $x$, Sakur 阅读全文
posted @ 2024-09-02 23:41 onlyblues 阅读(256) 评论(1) 推荐(2)
摘要: D2. Turtle and a MEX Problem (Hard Version) The two versions are different problems. In this version of the problem, you can't choose the same integer 阅读全文
posted @ 2024-08-27 23:45 onlyblues 阅读(161) 评论(0) 推荐(0)
摘要: 大鱼吃小鱼 题目描述 现在小 w 正在玩一款经典游戏——大鱼吃小鱼。 游戏规则如下:玩家操控一条初始重量为 $x$ 的鱼,它的目标是吃掉所有不超过自身当前重量的鱼。每当吃掉一条重量为 $y$ 的鱼,那么自身重量也会立即增长 $y$。 在游戏过程中,共会陆续出现 $n$ 条鱼。其中第 $i$ 条鱼重 阅读全文
posted @ 2024-08-24 16:58 onlyblues 阅读(192) 评论(0) 推荐(0)
摘要: BanG Dream! It's MyGO!!!!! 题目描述 在“BanG Dream! It's MyGO!!!”的世界里,各个乐团的演出和排练场地像星星一样被连接在一起,形成了一张美丽的网络图。每个乐团都有自己独特的演出场地和练习室,这些地点通过各种路径互相连接,组成了一张复杂的图谱。 koa 阅读全文
posted @ 2024-08-22 17:50 onlyblues 阅读(53) 评论(0) 推荐(0)
摘要: 无向图三元环计数 题目背景 无向图 $G$ 的三元环指的是一个 $G$ 的一个子图 $G_0$,满足 $G_0$ 有且仅有三个点 $u, v, w$,有且仅有三条边 $\langle u, v \rangle, \langle v, w \rangle, \langle w, u \rangle$。 阅读全文
posted @ 2024-08-22 17:50 onlyblues 阅读(181) 评论(0) 推荐(0)
摘要: E - Permute K times Problem Statement You are given a sequence $X$ of length $N$ where each element is between $1$ and $N$, inclusive, and a sequence 阅读全文
posted @ 2024-08-18 17:10 onlyblues 阅读(100) 评论(0) 推荐(1)
摘要: E. Not a Nim Problem Two players, Alice and Bob, are playing a game. They have $n$ piles of stones, with the $i$-th pile initially containing $a_i$ st 阅读全文
posted @ 2024-08-17 18:10 onlyblues 阅读(547) 评论(2) 推荐(0)
摘要: H. Ksyusha and the Loaded Set Ksyusha decided to start a game development company. To stand out among competitors and achieve success, she decided to 阅读全文
posted @ 2024-08-16 18:51 onlyblues 阅读(111) 评论(0) 推荐(1)
摘要: G - AtCoder Office Problem Statement $N$ people work at the AtCoder office. The office keeps records of entries and exits, and there have been $M$ ent 阅读全文
posted @ 2024-08-10 17:46 onlyblues 阅读(63) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 63 下一页
Web Analytics