DFS模板題HDU1016

Problem Descriptionios A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles should be a prime
相關文章
相關標籤/搜索