摘要: Description 给定一个N 个结点的无向完全图( 任意两个结点之间有一条边), 现在你可以用 M 种颜色对这个图的每条边进行染色,每条边必须染一种颜色。 若两个已染色的图,其中一个图可以通过结点重新编号而与另一个图完全相同, 就称这两个染色方案相同。 现在问你有多少种本质不同的染色方法,输出 阅读全文
posted @ 2018-03-06 21:28 Wolfycz 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Description Beads of N colors are connected together into a circular necklace of N beads (N include include include include define inf 0x7f7f7f7f usin 阅读全文
posted @ 2018-03-06 20:07 Wolfycz 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Description "Let it Bead" company is located upstairs at 700 Cannery Row in Monterey, CA. As you can deduce from the company name, their business is b 阅读全文
posted @ 2018-03-06 18:05 Wolfycz 阅读(326) 评论(0) 推荐(0) 编辑