【bzoj1000】A+B Problem

Description

输入两个数字,输出它们之和

Input

一行两个数字A,B(0<=A,B<100)

Output

输出这两个数字之和

Sample Input

1 2

Sample Output

3

sol

这题没什么好说的,直接输出a+b即可,也没什么需要注意的。

本菜鸡的第一篇博客QAQ

代码

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d\n",a+b);
}

猜你喜欢

转载自www.cnblogs.com/CK6100LGEV2/p/9386112.html