【冰茶姬】谔谔,70分TLE求助

P3367 【模板】并查集

AyaMomizi @ 2020-04-13 13:52:05

  • Code
  • 记录

by Sol1 @ 2020-04-13 13:52:27

lbw好评


by _十十十十_ @ 2020-04-13 13:52:39

路径压缩


by IntrepidStrayer @ 2020-04-13 13:53:19

你没有路径压缩


by AyaMomizi @ 2020-04-13 13:53:25

@ClCN 谔谔


by HsKr @ 2020-04-13 13:53:46

return fa[x] = find(fa[x])


by AyaMomizi @ 2020-04-13 13:53:53

@fhh_orz 明白了QAQ


by 1saunoya @ 2020-04-13 13:54:03

你莫得路径压缩啊


by AyaMomizi @ 2020-04-13 13:54:03

@HsKr 谢谢QAQ


by AyaMomizi @ 2020-04-13 13:55:11

@Isaunoya 恩恩


by PersistentLife @ 2020-04-13 13:56:52

@BeanGame_II 用路径压缩


| 下一页