并查集
一定要早睡的小龙
早睡早起身体棒
展开
-
Codeforces B. New Year Permutation
B. New Year Permutationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputUser ainta has a permutation p1, p2, ..., pn. As the New Year is coming, he...原创 2018-05-05 12:20:46 · 209 阅读 · 0 评论 -
Codeforces C. Destroying Array
C. Destroying Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array consisting of n non-negative integers a1, a2, ..., an.You...原创 2018-05-05 17:59:31 · 343 阅读 · 1 评论