08 2024 档案

摘要: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 阅读(154) 评论(0) 推荐(0)
摘要:大鱼吃小鱼 题目描述 现在小 w 正在玩一款经典游戏——大鱼吃小鱼。 游戏规则如下:玩家操控一条初始重量为 $x$ 的鱼,它的目标是吃掉所有不超过自身当前重量的鱼。每当吃掉一条重量为 $y$ 的鱼,那么自身重量也会立即增长 $y$。 在游戏过程中,共会陆续出现 $n$ 条鱼。其中第 $i$ 条鱼重 阅读全文
posted @ 2024-08-24 16:58 onlyblues 阅读(182) 评论(0) 推荐(0)
摘要:BanG Dream! It's MyGO!!!!! 题目描述 在“BanG Dream! It's MyGO!!!”的世界里,各个乐团的演出和排练场地像星星一样被连接在一起,形成了一张美丽的网络图。每个乐团都有自己独特的演出场地和练习室,这些地点通过各种路径互相连接,组成了一张复杂的图谱。 koa 阅读全文
posted @ 2024-08-22 17:50 onlyblues 阅读(50) 评论(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 阅读(167) 评论(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 阅读(92) 评论(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 阅读(535) 评论(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 阅读(105) 评论(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 阅读(61) 评论(0) 推荐(0)
摘要:循环字符串 题目描述 给定长度为 $n$ 的字符串,有 $m$ 次操作,每次操作都是以下三种之一: 一:$0,l,r,c$; 把 $[l,r]$ 的每个位置的字符都替换为字母 $c$,保证字符串和 $c$ 都是小写字母。二:$1,l,r$; 询问子串 $s_l​ s_{l+1} ​\ldots s_ 阅读全文
posted @ 2024-08-08 12:53 onlyblues 阅读(43) 评论(0) 推荐(0)
摘要:D. Med-imize Given two positive integers $n$ and $k$, and another array $a$ of $n$ integers. In one operation, you can select any subarray of size $k$ 阅读全文
posted @ 2024-08-05 23:24 onlyblues 阅读(87) 评论(0) 推荐(2)

Web Analytics