摘要:
算法:广搜+优先队列 描述 Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on computer now. What we... 阅读全文
摘要:
算法:广搜; 描述 You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fille... 阅读全文
摘要:
算法:搜索 描述 One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N integers and t... 阅读全文
摘要:
算法:搜索; In mathematical terms, the sequence Fn of Fibonacci numbers is defined by the recurrence relation Fn = Fn-1 + Fn-2 with seed values F1 = 1; F... 阅读全文
摘要:
算法:搜索+优先队列+(递归输出结果) The Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has to rescue our pretty Princess. Now he gets into ... 阅读全文