![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
ACM
文章平均质量分 57
杭电ACM为主
呼啸山庄:
努力学习,时间会证明一切
展开
-
u Calculate e
Problem Description A simple mathematical formula for e is where n is allowed to go to infinity. This can actually yield very accurate approximations of e using relatively small values of n. Output Output the approximations of e generated by the above for原创 2021-01-18 16:34:10 · 210 阅读 · 0 评论 -
Number Sequence 杭电ACM
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 The input consists of multiple test cases. Each test case contains原创 2021-01-17 21:32:56 · 195 阅读 · 0 评论 -
A + B Problem II C语言解析(大数相加)
Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines foll原创 2021-01-15 23:00:33 · 831 阅读 · 4 评论 -
C语言 Let the Balloon Rise
Problem 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 most popular problem. When the contest is over, they will count the balloons of each color and fi原创 2021-01-15 22:45:01 · 595 阅读 · 0 评论