摘要: B. Arpa and an exam about geometry time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Arpa 阅读全文
posted @ 2017-09-06 20:16 #忘乎所以# 阅读(268) 评论(0) 推荐(0)
摘要: A. Arpa and a research in Mexican wave time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Ar 阅读全文
posted @ 2017-09-06 20:12 #忘乎所以# 阅读(210) 评论(0) 推荐(0)
摘要: 宽度优先搜索(BFS,Breadth-First Search)也是搜索的手段之一,与深度优先搜索类似,从某个状态出发搜索所有可以到达的状态。 与深度优先搜索的不同之处在于搜索的顺序,宽度优先搜索总是先搜索距离初始状态最近的状态。也就是说,它是按照开始状态→只需一次转移就能到达的所有状态→只需2次就 阅读全文
posted @ 2017-09-06 15:13 #忘乎所以# 阅读(210) 评论(0) 推荐(0)