摘要: Problem 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 ar 阅读全文
posted @ 2018-09-27 22:51 Frank__Chen 阅读(301) 评论(0) 推荐(1)
摘要: Let the Balloon Rise. 最近开始刷hdoj,想通过写博客做做笔记,记录写过代码。 Problem Description Contest time again! How excited it is to see balloons floating around. But to t 阅读全文
posted @ 2018-09-27 12:15 Frank__Chen 阅读(199) 评论(0) 推荐(0)