首页 > TAG信息列表 > Easier

B - Triangle (Easier)

Problem StatementYou are given a simple undirected graph with $N$ vertices and $M$ edges. The vertices are numbered $1, \dots, N$, and the $i$-th $(1 \leq i \leq M)$ edge connects Vertex $U_i$ and Vertex $V_i$. Find the number of tuples of integers $a