上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 66 下一页
摘要: 无向图三元环计数 题目背景 无向图 $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 阅读(295) 评论(0) 推荐(1)
摘要: 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 阅读(141) 评论(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 阅读(594) 评论(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 阅读(148) 评论(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 阅读(114) 评论(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 阅读(128) 评论(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 阅读(147) 评论(0) 推荐(2)
摘要: E. Level Up Monocarp is playing a computer game. He starts the game being level $1$. He is about to fight $n$ monsters, in order from $1$ to $n$. The 阅读全文
posted @ 2024-07-31 11:15 onlyblues 阅读(192) 评论(0) 推荐(0)
摘要: G. Penacony On Penacony, The Land of the Dreams, there exists $n$ houses and $n$ roads. There exists a road between house $i$ and $i+1$ for all $1 \le 阅读全文
posted @ 2024-07-27 17:15 onlyblues 阅读(268) 评论(0) 推荐(0)
摘要: 国际旅行 Ⅱ 题目描述 小龙突然穿越到异世界这里的国家划分并不同于之前的世界,具体的目前有 $n$ 个城市,$m$ 条双向道路,确保所有城市联通,每个国家由若干个城市组成,若城市 $u$ 和城市 $v$ 之间存在至少两条路径所包含的边不具有交集,那么 $u$ 和 $v$ 属于同一个国家,否则属于不同 阅读全文
posted @ 2024-07-26 17:10 onlyblues 阅读(72) 评论(0) 推荐(1)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 66 下一页
Web Analytics