
HDU
文章平均质量分 58
Circle20
这个作者很懒,什么都没留下…
展开
-
杭电HDU 1005 Number Sequence (找循环)
Number Sequence 题目:https://acm.hdu.edu.cn/showproblem.php?pid=1005 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 are to calculate the value of f(n). Input原创 2021-07-28 19:52:11 · 114 阅读 · 0 评论 -
杭电HDU 1096 A+B for Input-Output Practice (VIII)(输出格式)
A+B for Input-Output Practice (VIII) 题目:https://acm.hdu.edu.cn/showproblem.php?pid=1096 Problem Description Your task is to calculate the sum of some integers. Input Input contains an integer N in the first line, and then N lines follow. Each line starts w原创 2021-07-28 18:07:02 · 166 阅读 · 0 评论