摘要: Problem StatementYou are given a simple undirected graph with $N$ vertices and $M$ edges. The vertices are numbered $1, \dots, N$, and the $i$-th $(1 阅读全文
posted @ 2022-09-08 22:11 灰鲭鲨 阅读(45) 评论(0) 推荐(0)
摘要: Problem StatementYou are given a sequence $P = (p_1,p_2,\ldots,p_N)$ that contains $1,2,\ldots,N$ exactly once each. You may perform the following ope 阅读全文
posted @ 2022-09-08 21:57 灰鲭鲨 阅读(35) 评论(0) 推荐(0)