摘要:
题目描述 You are given a tree of $ n $ vertices. The vertices are numbered from $ 1 $ to $ n $ . You will need to assign a weight to each edge. Let the we 阅读全文
摘要:
Problem StatementYou are given a sequence of $N$ non-negative integers $A=(A_1,A_2,\dots,A_N)$ and a positive integer $K$. Find the bitwise $\mathrm{X 阅读全文
摘要:
h3>Problem StatementJoisino is about to compete in the final round of a certain programming competition. In this contest, there are $N$ problems, numb 阅读全文
摘要:
Problem StatementWe have a tree $T$ with vertices numbered $1$ to $N$. The $i$-th edge of $T$ connects vertex $u_i$ and vertex $v_i$. Let us use $T$ t 阅读全文