Thuật toán CTDL Disjoint set - ~O(3N+5)

Kiểm tra số nguyên tố (Miller Rabin) - O(K log(N))

Nhận xét