若现在有 nnn 个实点,mmm 个虚点,图上一定是实点虚点交替相连,图可能不连通,问有多少实点对 (u,v)(u,v)(u,v) 满足 u,vu,vu,v 间存在长度大于2的简单路径
1≤n,m≤1051\leq n,m\leq 10^51≤n,m≤105