A+B problem(EOF)
来源:互联网 发布:ubuntu 命令行 deb 编辑:程序博客网 时间:2024/06/04 18:53
#include <stdio.h>
int main()
{
int a, b;
while (scanf("%d %d", &a, &b) != EOF) //无限循环 以EOF结束
printf("%d\n", a + b);
return 0;
}
int main()
{
int a, b;
while (scanf("%d %d", &a, &b) != EOF) //无限循环 以EOF结束
printf("%d\n", a + b);
return 0;
}
阅读全文
0 0
- A+B Problem (EOF)
- A+B problem(EOF)
- a+b problem(EOF)
- A+B Problem (64bit Integer + EOF)
- A+B Problem (64bit Integer + EOF)
- 我的第一次AC(A+B Problem (EOF))
- A+B problem(64bit Integer + EOF)
- A+B(EOF)
- 计算a+b的和 EOF结束
- problem 1000: A+B problem
- Problem 1000 A+B Problem
- Problem - 1000 A + B Problem
- A + B Problem
- A + B Problem
- 1000 A+B Problem
- 1001 A + B Problem
- A+B Problem
- 1000 A+B Problem
- android IntentService Service HandlerThread 源码解读
- 数据结构之数组
- RxJava学习
- log4j
- 安信可-A7模块——C语言编程实现GPS功能
- A+B problem(EOF)
- 当人工智能敲响了门 我们将迎来怎样的世界
- 在线api汇总,应该对你开发有帮助
- POJ 1929 Calories from Fat 笔记
- 第一次使用沃云产品
- iframe包含的页面如何能够调用到父级页面的js方法
- Android studio中Git路径找不到(Mac版),提示Cannot run program "/usr/local/bin/git" error=2, No such file or dir
- 字符串操作
- java后台判断前端是PC端访问还是移动端访问