博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
第四题
阅读量:20605 次
发布时间:2019-12-03

本文共 311 字,大约阅读时间需要 1 分钟。

A + B Problem

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
2
问题描述:……
程序说明:……
AC代码
#include
using namespace std;
int main()
{
int a, b;
while (cin >> a >> b)
{
cout << a + b << endl;
}
}

转载地址:http://agevfk.baihongyu.com/

你可能感兴趣的文章
AI算法之Encoder-Decoder 和 Seq2Seq
查看>>
AI算法之Attention机制
查看>>
人体口罩佩戴检测实战
查看>>
[YoLoV3目标检测实战] keras+yolov3训练自身口罩检测数据集
查看>>
[实战]200类鸟类细粒度图像分类
查看>>
【实战】英文垃圾短信分类
查看>>
FFmpeg初遇见_基本命令
查看>>
Urbansound8k声音分类深度学习实战
查看>>
pytorch版本下的yolov3训练实现火焰检测
查看>>
yolov4训练自己的数据集实现安全帽佩戴检测
查看>>
EfficientDet训练自己的数据集实现抽烟检测
查看>>
【工具篇】10分钟快速上手git与github
查看>>
【开发篇】10分钟快速上手spring boot
查看>>
【开发篇】10分钟快速spring boot+react前后端分离
查看>>
【开发篇】10分钟快速上手spring boot+mybatis增删改查
查看>>
【Leetcode刷题篇】leetcode203 移除链表元素
查看>>
【Leetcode刷题篇】leetcode108 将有序数组转换为二叉搜索树
查看>>
【Leetcode刷题篇】leetcoe109 有序链表转换二叉搜索树
查看>>
【Leetcode刷题篇】leetcode938 二叉搜索树的范围和
查看>>
【Leetcode刷题篇】leetcode235 二叉搜索树的最近公共祖先
查看>>