随笔分类 -  大水题

摘要:Description Yesterday your dear cousin Coach Pang gave you a new 100MB hard disk drive (HDD) as a gift because you will get married next year. But yo... 阅读全文
posted @ 2014-05-05 21:21 t-tay-y 阅读(273) 评论(0) 推荐(0)
摘要:Description Given a code (not optimized), and necessary inputs, you have to find the output of the code for the inputs. The code is as follows: int a, b, c, d, e, f;int fn( int n ) { if( ... 阅读全文
posted @ 2014-05-05 21:15 t-tay-y 阅读(238) 评论(0) 推荐(0)
摘要:BFS广度优先搜寻迷宫最短路径。 /* Sample Input: 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 0 Sample Output: (0, 0) (1, 0) (2, 0) (2, 1) (2, 2) (2, 3) (2, 4) (3 阅读全文
posted @ 2014-04-10 23:32 t-tay-y 阅读(190) 评论(0) 推荐(0)