BZOJ 1488 [HNOI2009]图的同构 BZOJ 1815 [Shoi2006]color 有色图
题目链接https://lydsy.com/JudgeOnline/problem.php?id=1488https://lydsy.com/JudgeOnline/problem.php?id=1815题解考虑polya,对于一个点的置换A1,⋯ ,AnA_1,\cdots,A_nA1,⋯,An,假设循环节的长度分别为L1,⋯ ,LmL_1,\cdots,