骄傲的代价 BigInteger
来源:互联网 发布:为什么淘宝5星好评 编辑:程序博客网 时间:2024/05/01 23:50
import java.math.BigInteger;import java.util.Scanner;public class Main {public static void main(String[] args) {// TODO Auto-generated method stubScanner cin = new Scanner(System.in);int n = cin.nextInt();for (int i = 1; i <= n; i++) {String str1 = cin.next();String str2 = cin.next();BigInteger big1 = new BigInteger(str1);BigInteger big2 = new BigInteger(str2);BigInteger b = big1.add(big2);System.out.println("Case " + i + ":");System.out.println(big1 +" "+"+" +" "+ big2 +" "+ "=" +" "+ b);if (i < n) {System.out.println();}}}}
0 0
- 骄傲的代价 BigInteger
- 骄傲的代价
- 骄傲的代价 oj
- 骄傲的代价
- 骄傲的代价
- sdut_java_骄傲的代价
- 骄傲的代价
- 骄傲的代价
- 骄傲的代价
- SDUT 2279 骄傲的代价
- 骄傲的代价 SDUT 2279
- 骄傲的代价(大数处理)
- Java sdut acm 2279 骄傲的代价
- java -- SDUT 2714 骄傲的代价
- 山西人的骄傲!!
- Vb程序员的骄傲
- 啄木鸟的骄傲
- 美利坚的骄傲
- ViewPager 子布局点击事件的代替方法
- Activiti初学者教程
- BZOJ2082: [Poi2010]Divine divisor 数论
- 如何在本地进行微信公众号的开发和调试
- linux中python 升级问题处理
- 骄傲的代价 BigInteger
- linux增加swap空间
- 安卓5.0推出的协调者布局,其实关键的代码都在xml布局中
- Eclipse导入项目之后,这个项目又引入了其他项目的类,出现问题
- 241. Different Ways to Add Parentheses
- Ubuntu小白:dpkg: 处理软件包 runit (--configure)时出错
- Java数据结构
- java几种常用设计模式简单示例
- Android 单元测试小总结