摘要:
D. Super-Permutation A permutation is a sequence $n$ integers, where each integer from $1$ to $n$ appears exactly once. For example, $[1]$, $[3,5,2,1, 阅读全文
posted @ 2023-04-26 19:38
onlyblues
阅读(218)
评论(0)
推荐(1)
摘要:
F. Gardening Friends Two friends, Alisa and Yuki, planted a tree with $n$ vertices in their garden. A tree is an undirected graph without cycles, loop 阅读全文
posted @ 2023-04-26 16:45
onlyblues
阅读(226)
评论(0)
推荐(0)
摘要:
G2. Magic Triples (Hard Version) This is the hard version of the problem. The only difference is that in this version, $a_i \le 10^9$. For a given seq 阅读全文
posted @ 2023-04-26 15:57
onlyblues
阅读(103)
评论(0)
推荐(0)

浙公网安备 33010602011771号