摘要: A move consists of taking a point (x, y) and transforming it to either (x, x+y) or (x+y, y). Given a starting point (sx, sy) and a target point (tx, t 阅读全文
posted @ 2020-10-28 05:12 CNoodle 阅读(98) 评论(0) 推荐(0)
摘要: A school is trying to take an annual photo of all the students. The students are asked to stand in a single file line in non-decreasing order by heigh 阅读全文
posted @ 2020-10-28 03:13 CNoodle 阅读(164) 评论(0) 推荐(0)
摘要: We stack glasses in a pyramid, where the first row has 1 glass, the second row has 2 glasses, and so on until the 100th row. Each glass holds one cup  阅读全文
posted @ 2020-10-28 01:15 CNoodle 阅读(265) 评论(0) 推荐(0)