code for fun

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

随笔分类 -  高精度计算

摘要: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 many computer systems.This problem requires that you write a program to compute the exact value of Rnwhere R is 阅读全文
posted @ 2014-02-27 01:03 xueda120 阅读(240) 评论(0) 推荐(0)

摘要:Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.InputThe first line of the input contains an integer T(1 0) { a = cin.nextBigInteger(); b = cin.nextBigInteger(); System.out.println("Case "... 阅读全文
posted @ 2014-02-26 03:10 xueda120 阅读(317) 评论(0) 推荐(0)