摘要:
Problem StatementYou are given a simple connected undirected graph with $N$ vertices and $M$ edges. (A graph is said to be simple if it has no multi-e 阅读全文
posted @ 2023-01-09 22:50
灰鲭鲨
阅读(78)
评论(0)
推荐(0)
摘要:
Problem StatementThere are $N$ people and $K$ nations, labeled as Person $1$, Person $2$, $\ldots$, Person $N$ and Nation $1$, Nation $2$, $\ldots$, N 阅读全文
posted @ 2023-01-09 22:45
灰鲭鲨
阅读(48)
评论(0)
推荐(0)
摘要:
Problem StatementGiven a sequence $A$ of $N$ numbers, answer the following $Q$ questions. In the $i$-th question, you are given integers $L_i$ and $R_ 阅读全文
posted @ 2023-01-09 21:48
灰鲭鲨
阅读(56)
评论(0)
推荐(0)
摘要:
Problem StatementFor a sequence of length $N$, $A = (A_1,A_2,\dots,A_N)$, consisting of integers between $1$ and $N$, inclusive, and an integer $i\ (1 阅读全文
posted @ 2023-01-09 10:12
灰鲭鲨
阅读(36)
评论(0)
推荐(0)

浙公网安备 33010602011771号