摘要: 1.淘气的蜡笔小鑫 蜡笔小鑫真是又闲又淘气,他看到走廊上的灯都是灭的,就跑过去捣乱。每个灯泡都有自己的开关,用来控制灯的状态(开或者关)。如果灯灭了,按一下开关即开灯,再按一次即关灯。假设走廊里有n个灯泡,蜡笔小鑫就沿着走廊来回走n次。每次都是沿走廊走下去然后再回来,... 阅读全文
posted @ 2018-04-15 20:24 ~~zcy 阅读(349) 评论(0) 推荐(0) 编辑
摘要: Consider a NxM small-letters grid. SVU asked you to check whether this grid is a Cutie Pie or not A grid is a cutie pie if you can fi... 阅读全文
posted @ 2018-04-15 15:25 ~~zcy 阅读(266) 评论(0) 推荐(0) 编辑
摘要: Carlo Ancelotti "Real Madrid's coach" is so Sad and disappointed, and Florentino Perez fired him after getting knocked out from the UE... 阅读全文
posted @ 2018-04-15 12:47 ~~zcy 阅读(156) 评论(0) 推荐(0) 编辑
摘要: You have n rectangles, each of which is described by three integers i, j and k. This indicates that the lower-left corner of the rect... 阅读全文
posted @ 2018-04-15 12:30 ~~zcy 阅读(413) 评论(0) 推荐(0) 编辑
摘要: It was a beautiful day, the sun was shining, the sky was clear and king Omar was listening to the birds peacefully under his favorite... 阅读全文
posted @ 2018-04-15 12:16 ~~zcy 阅读(185) 评论(0) 推荐(0) 编辑