acgo题库
  • 首页
  • 题库
  • 学习
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情提交记录(0)
  • 喂AI??

    #include <iostream> #include <vector> #include <unordered_map> using namespace std; vector<int> parent; vector<int> key_pos; int find(int x) { if (parent[x] != x) { parent[x] = find(parent[x]); } return parent[x]; } void unite(int x, int y) { int fx = find(x); int fy = find(y); if (fx != fy) { parent[fy] = fx; } } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); }

    userId_undefined

    段瑞天(不加团)

    时空双修者7月全勤卷王循环·循环打卡人倔强青铜分支·分支解题者I/O·IO入门者
    12阅读
    0回复
    1点赞
暂无数据

提交答案之后,这里将显示提交结果~

首页