OSDN Git Service

fix format
authorsshwy <jy.cat@qq.com>
Thu, 22 Oct 2020 13:27:17 +0000 (21:27 +0800)
committersshwy <jy.cat@qq.com>
Thu, 22 Oct 2020 13:27:17 +0000 (21:27 +0800)
docs/topic/dsu-app.md

index 3670ce8..b3f1243 100644 (file)
@@ -28,11 +28,11 @@ author: sshwy
 
 ## C
 
-???+note“C”
+???+note "C"
     有 $n$ 个点,初始时均为孤立点。
-
+    
     接下来有 $m$ 次加边操作,第 $i$ 次操作在 $a_i$ 和 $b_i$ 之间加一条无向边。
-
+    
     接下来有 $q$ 次询问,第 $i$ 次询问第 $x_i$ 个点在第 $t_i$ 次操作后所在连通块的大小。
 
 离线算法:考虑将询问按 $t_i$ 从小到大排序。在加边的过程中顺便处理询问即可。时间复杂度 $O(q\log_2q+(n+q)\alpha(n))$ 。