摘要:
Problem StatementWe have a grid with $H$ rows and $W$ columns. Each square is painted either white or black. For each integer pair $(i, j)$ such that 阅读全文
posted @ 2022-12-23 20:53
灰鲭鲨
阅读(54)
评论(0)
推荐(0)
摘要:
Problem StatementWe have a rooted tree with $N$ vertices numbered $1,2,\dots,N$. The tree is rooted at Vertex $1$, and the parent of Vertex $i \ge 2$ 阅读全文
posted @ 2022-12-23 20:46
灰鲭鲨
阅读(50)
评论(0)
推荐(0)
摘要:
Problem StatementIn a string fair, they determine the beauty of a non-empty string $S$ consisting of lowercase English letters. The beauty of string $ 阅读全文
posted @ 2022-12-23 20:14
灰鲭鲨
阅读(32)
评论(0)
推荐(0)
摘要:
Problem StatementYou are given an integer sequence $A = (A_1, \dots, A_N)$ of length $N$. Find the number, modulo $998244353$, of permutations $P = (P 阅读全文
posted @ 2022-12-23 17:05
灰鲭鲨
阅读(41)
评论(0)
推荐(0)
摘要:
Problem StatementYou are given a tree with $N$ vertices. The vertices are numbered $1, \dots, N$, and the $i$-th ($1 \leq i \leq N - 1$) edge connects 阅读全文
posted @ 2022-12-23 16:52
灰鲭鲨
阅读(35)
评论(0)
推荐(0)

浙公网安备 33010602011771号