QOJ.ac

QOJ

Type: Editorial

Status: Open

Posted by: Anonymous

Posted at: 2026-08-22 19:51:44

Last updated: 2026-08-22 20:04:37

Back to Problem

blossom algorithm runs really fast

带花树跑出一组匹配。然后我们暴力判断是否存在交错环。采用 bitset 优化 bfs,可以做到 $O(n^3 / w)$。

带花树的复杂度……没错,是 $O(n^3)$ 的,但是过了。

Comments

No comments yet.