摘要:
题目链接:http://oj.ecustacm.cn/problem.php?id=1316 以0开始,为空点编号,然后进行全排列 #include <iostream> #include <cstring> #include <vector> #include <queue> #include < 阅读全文
posted @ 2020-04-27 11:02
ukeepgoing
阅读(255)
评论(0)
推荐(0)
摘要:
题目链接:http://oj.ecustacm.cn/problem.php?id=1266 想法:宽搜,判断上一步走的位置上的字符与下一个要走的位置的字符是否相同。如果相同,则跳过,不同则可以往下走 #include <iostream> #include <cstring> #include < 阅读全文
posted @ 2020-04-27 10:05
ukeepgoing
阅读(287)
评论(0)
推荐(0)

浙公网安备 33010602011771号