
数学运算
文章平均质量分 57
数学运算相关的算法题
Marilynmontu
能为自己的梦想锋芒毕露,那也是一种不合群的勇敢。
展开
-
ACM——hdu1002(高精度加法)
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<=...原创 2018-07-22 11:36:10 · 1255 阅读 · 0 评论 -
ACM——hdu1001(等差数列求和)
Problem Description In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + … + n.Input The input will consist of a series of integers n, one integer per lineOutput For each case, outpu...原创 2018-07-21 14:18:26 · 1459 阅读 · 0 评论 -
ACM——hdu1000(求两数之和)
大三狗准备重拾ACM了,想当初大一的时候因为格式错误就放弃了ACM,那时候还真是不坚定呢,不过幸好后来也没有荒废时光吧。发现在杭电提交的代码不知道哪里可以看到,所以决定在博客里面记录下来,由于本校的oj关掉了,所以选择了杭电的oj,从第1000题开始刷,平时C和C++都有用,所以写的时候一般哪个手顺用哪个。。个人觉得第一题主要注意输入输出的格式。Problem Description Cal...原创 2018-06-09 11:50:19 · 2849 阅读 · 0 评论