摘要:
题目链接题意:最多三个字母,要让他们移动到对应的大写字母的方格里,问最小的步数(一步里面三个字母可以同时走) 解析:直接bfs做的话肯定会超时,因为每一步都是五的三次方,而且障碍物很多,所以我们需要建图,听起来挺可怕的,其实不然,建图就是我们将图中可以走的节... 阅读全文
posted @ 2018-04-11 18:20
ffgcc
阅读(113)
评论(0)
推荐(0)
摘要:
C. Make a Square time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputYou... 阅读全文
posted @ 2018-04-11 16:32
ffgcc
阅读(215)
评论(0)
推荐(0)
摘要:
D. Merge Equals time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputYou ... 阅读全文
posted @ 2018-04-11 14:40
ffgcc
阅读(84)
评论(0)
推荐(0)

浙公网安备 33010602011771号