摘要: TransformationsA square pattern of size N x N (1 <= N <= 10) black and white square tiles is transformed into another square pattern. Write a program that will recognize the minimum transformation that has been applied to the original pattern given the following list of possible transformation 阅读全文
posted @ 2012-10-06 18:41 jiangzh 阅读(349) 评论(0) 推荐(0)
摘要: Milking Cows 挤牛奶(milk2)Milking CowsThree farmers rise at 5 am each morning and head for the barn to milk three cows. The first farmer begins milking his cow at time 300 (measured in seconds after 5 am) and ends at time 1000. The second farmer begins at time 700 and ends at time 1200. The third farme 阅读全文
posted @ 2012-10-06 15:31 jiangzh 阅读(422) 评论(0) 推荐(0)