Rosetta Problems
← 問題一覧に戻る
三角形の列挙
頂点に値のある無向グラフが与えられ、すべての三角形について
3
3
3
頂点の値の積の総和を求める。
関連リンク
yosupo/enumerate_triangles