A+B(EOF)
来源:互联网 发布:网络综合布线公司转让 编辑:程序博客网 时间:2024/06/05 06:29
import java.io.*;import java.util.*;public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ System.out.println(sc.nextInt()+sc.nextInt()); } }}(在OJ上,调用包名尽量使用*)
0 0
- A+B Problem (EOF)
- A+B(EOF)
- A+B problem(EOF)
- a+b problem(EOF)
- 计算a+b的和 EOF结束
- A+B Problem (64bit Integer + EOF)
- A+B Problem (64bit Integer + EOF)
- 我的第一次AC(A+B Problem (EOF))
- A+B problem(64bit Integer + EOF)
- while(~scanf("%d %d",&a,&b))和while(scanf("%d %d",&a,&b)!=EOF)
- while(~scanf("%d %d",&a,&b))和while(scanf("%d %d",&a,&b)!=EOF)
- while(scanf(“%d%d”,&a,&b)!=EOF)循环无法退出问题
- a+bproblem(0+EOF)
- a>b?a:b
- eof ()
- EOF
- eof
- EOF
- ubuntu设置tightvncserver自动启动
- Spring跨controller数据传输er
- SQL 常见命令
- dubbo配置文件
- centos 6.8 lamp
- A+B(EOF)
- 蓝桥杯-横向打印二叉树
- 消息摘要的编程使用(MD5、SHA、HMAC)
- 简单的控制台五子小游戏棋程序(Java)
- Spring的核心容器Bean的基础知识(一)
- PAT L3-001. 凑零钱((背包&路径记录)
- Mysql5.7数据库初始密码查看及修改
- centos7环境下hadoop-2.7.3伪分布式搭建
- 状态压缩dp入门题目总结——炮兵阵地和TSP问题