摘要: 暴力流. Time Limit Exceeded...... 阅读全文
posted @ 2013-01-30 18:02 frankdj 阅读(194) 评论(0) 推荐(0)
摘要: 很简单的一道枚举法的题目 阅读全文
posted @ 2013-01-27 14:58 frankdj 阅读(109) 评论(0) 推荐(0)
摘要: 主要用来练习一下BFS的implementation.求高手!又是Runtime Error..都不知道为什么呀.. 阅读全文
posted @ 2013-01-21 02:16 frankdj 阅读(165) 评论(0) 推荐(0)
摘要: 不知道为什么会有Runtime Error咧..求高手! 挺简单的用list的题目。 阅读全文
posted @ 2013-01-20 00:51 frankdj 阅读(158) 评论(0) 推荐(0)
摘要: 这是一道Depth First Search/Breadth First Search的题目。我是用DFS来implement的。 阅读全文
posted @ 2013-01-19 17:48 frankdj 阅读(133) 评论(0) 推荐(0)
摘要: 练习stack的用法 阅读全文
posted @ 2013-01-19 12:31 frankdj 阅读(128) 评论(0) 推荐(0)
摘要: Algorithm: 1. Gradually input the card 2. Insert the card at its temperarory 'final' place 3. Start from the next position of the inserted card, rearrange the position of the piles of the cards 阅读全文
posted @ 2013-01-18 14:27 frankdj 阅读(202) 评论(0) 推荐(0)