摘要: Description The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which flo 阅读全文
posted @ 2017-04-06 22:22 limyel 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Description A number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calcu 阅读全文
posted @ 2017-04-06 00:22 limyel 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the 阅读全文
posted @ 2017-04-06 00:13 limyel 阅读(119) 评论(0) 推荐(0) 编辑