rt, @Daniel_lele 说是一个cf题
题目:
有 mmm 个操作,每次操作给 uuu 和 vvv 连一条边,或求 u,vu, vu,v 最早在加入第几条铁路时能联通,到这次操作都没联通输出 000。
thx!