![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
├──JAVA大数
文章平均质量分 57
Kuro同学
这个作者很懒,什么都没留下…
展开
-
HDU 1042 N! 阶乘(大数)
Problem DescriptionGiven an integer N(0 ≤ N ≤ 10000), your task is to calculate N! InputOne N in one line, process to the end of file. OutputFor each N, output N! i原创 2014-07-14 21:41:26 · 698 阅读 · 0 评论 -
HDU 2054 A==B? 大数
Problem DescriptionGive you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Inputeach test case contains two numbers A and B. Outputfor each case, i原创 2014-07-18 15:55:04 · 1010 阅读 · 0 评论 -
POJ 2506 Tiling 递推+大数
n how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sample tiling of a 2x17 rectangle. InputInput is a sequence of lines, each line containing an integer number 0 O原创 2014-07-09 08:28:29 · 826 阅读 · 0 评论 -
HDU 1753 大明A+B 大型小数
Problem Description话说,经过了漫长的一个多月,小明已经成长了许多,所以他改了一个名字叫“大明”。这时他已经不是那个只会做100以内加法的那个“小明”了,现在他甚至会任意长度的正小数的加法。现在,给你两个正的小数A和B,你的任务是代表大明计算出A+B的值。 Input本题目包含多组测试数据,请处理到文件结束。每一组测试数据在一行里面包含两个原创 2014-07-17 17:12:09 · 1087 阅读 · 0 评论 -
HDU1002 A + B Problem II JAVA实现
附上代码:import java.math.BigInteger;import java.util.Scanner; //主要功能是简化文本扫描 public class Main{ public static void main(String[] args) { Scanner cin = new Scanner(System.in); //scanner 读入 B原创 2014-07-05 20:03:34 · 918 阅读 · 0 评论 -
hdu 1063 Exponentiation 大数
Problem DescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for m原创 2014-07-21 08:27:21 · 1197 阅读 · 0 评论