#abc240a. [abc240_a]Edge Checker

[abc240_a]Edge Checker

给定如上图的环并给定 a,ba,b,问 a,ba,b 是否连接。

Translated by ShanCreeper.