1000:A+B problem
来源:互联网 发布:招聘淘宝处理中差评 编辑:程序博客网 时间:2024/04/27 17:32
Problem Description
Calculate A + B.
Input
Each line will contain two integers A and B. Process to end of file.
Output
For each case, output A + B in one line.
Sample Input
1 1
Sample Output
2Answer:import java.util.Scanner;public class Main{public static void main(String[] args) {Scanner scan = new Scanner(System.in);while(scan.hasNext()){int i = scan.nextInt();int j = scan.nextInt();System.out.println(i+j);}}}
- problem 1000: A+B problem
- Problem 1000 A+B Problem
- Problem - 1000 A + B Problem
- 1000 A+B Problem
- 1000 A+B Problem
- 1000 A + B Problem
- 1000 A+B Problem
- 1000 A + B Problem
- 1000:A+B problem
- 1000 A + B Problem
- 1000 A+B Problem
- 1000 . A+B Problem
- 1000 A + B Problem
- 1000 A + B Problem
- 1000 -- A+B Problem
- 1000 ( A + B Problem )
- [1000]:A + B Problem
- 1000:A+B Problem
- 怎样在Android中解析doc、docx、xls、xlsx格式文件?
- 程序设计方法-回溯、概率、启发式
- java视频教程免费下载
- Java计算程序运行时间
- 将一个图片切割成多个图片
- 1000:A+B problem
- GTK+, Qt, wxWidgets 比较简评
- VC6.0中怎样引入lib文件
- Nginx 简单的负载均衡配置示例
- Spring Web应用的线程安全
- C语言const,extern,static 浅析
- cookie删除
- Autodesk.Revit.DB.Transform 类的作用
- 解决could not create the java virtual machine问题