随笔分类 - 折半搜索
摘要:Description A国有n个城市,编号为1到n,任意两个城市之间有一条路。shlw闲得没事干想周游A国,及从城市1出发,经过且仅经过除城市1外的每个城市1次(城市1两次),最后回到城市1。由于shlw很傻,他只愿意走一定长度,多了少了都不干,现在他想知道一共有多少种方案可供选择。 Descri
阅读全文
摘要:Description Description Input Output Input Input Output Output Sample Input 见下发文件 Sample Output 见下发文件 Sample Input 见下发文件 Sample Input 见下发文件 Sample Out
阅读全文