摘要:
一道暴力的题目。。枚举出来就好了。。一开始用自己写全排列都是WA 。。 可能是字典序什么的问题。。然后用了STL的全排列题目Getting in LineComputer networking requires that the computers in the network be linked.This problem considers a ``linear" network in which the computers are chained together so that each is connected to exactly two others except for 阅读全文