2012年4月2日

摘要: http://armorgames.com/play/2205/light-bot 从Matrix67的博客上看到,这个挺好玩的Flash小游戏。通过给小机器下达一系列的指令,来控制小人完成任务。 自己玩了几关,还挺好玩的。还涉及到了子函数的设计。 阅读全文
posted @ 2012-04-02 22:51 sean-yao 阅读(282) 评论(0) 推荐(0)

2012年3月18日

摘要: Hello my new blog. <FONT size=4 face=微软雅黑>#include &amp;lt;stdio.h&amp;gt;intmain(){ printf("Hello my new blog\n"); return 0;}</FONT>end 阅读全文
posted @ 2012-03-18 21:28 sean-yao 阅读(97) 评论(0) 推荐(1)
摘要: You are given an array ' containing 0s and 1s. Find O(n) time and O(1) spacealgorithm to find the maximum sub sequence which has equal number of 1s and0s.Examples1) 10101010The longest sub sequence that satisfies the problem is the input itself2)1101000The longest sub sequence that satisfies the 阅读全文
posted @ 2012-03-18 20:38 sean-yao 阅读(152) 评论(0) 推荐(1)

导航