蓝桥杯 第十讲 疑难杂题

1242. 修改数组 做法一:并查集变种 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 2e6; int p[N]; int n,x; int find(i
posted @ 2022-03-11 21:00  安河桥北i  阅读(19)  评论(0编辑  收藏  举报