
算法
汤姆的猫生
这个作者很懒,什么都没留下…
展开
-
HDU - 2181 哈密顿绕行世界问题
题目大意 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 Input 前20行的第i行有3个数,表示与第i个城市相邻的3个城市.第20行以后每行有1个数m,m<=20,m>=1.m=0退出. Output 输出从第m个城市出发经过每个城市1次又回到m的所有路线,如有多条路线,按字典序输出,每行1条路线....原创 2019-12-19 20:18:12 · 147 阅读 · 0 评论 -
【kuangbin带你飞专题】POJ - 3126 Prime Path
原题重现: The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices. — It is a matte...原创 2019-12-06 15:41:12 · 366 阅读 · 0 评论