摘要:
Problem StatementA box contains $N$ balls, each with an integer between $1$ and $M-1$ written on it. For $i = 1, 2, \ldots, N$, the integer written on 阅读全文
摘要:
Problem StatementWe have a directed graph with $N$ vertices, called Vertex $1$, Vertex $2$, $\ldots$, Vertex $N$. For each pair of integers such that 阅读全文
摘要:
Problem StatementYou are given an undirected tree with $N$ vertices. Let us call the vertices Vertex $1$, Vertex $2$, $\ldots$, Vertex $N$. For each $ 阅读全文
摘要:
Problem StatementTakahashi has $A$ apple seedlings, $B$ banana seedlings, and $C$ cherry seedlings. Seedlings of the same kind cannot be distinguished 阅读全文
摘要:
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 阅读全文
摘要:
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$ 阅读全文
摘要:
Problem StatementIn a string fair, they determine the beauty of a non-empty string $S$ consisting of lowercase English letters. The beauty of string $ 阅读全文
摘要:
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 阅读全文