其他分享
首页 > 其他分享> > P1001

P1001

作者:互联网

A+BProblem(蒟蒻必切

就是定义两个整形数,然后输入,再输出和。(七年大水题

上代码

#include <bits/stdc++.h>  //万能头文件
using namespace std;
int main()
{
    int a,b;//定义两个整形数
    cin>>a>>b;//输入,其实不写万能头的话,就写iostream,包含cin 和 cout的
    cout<<a+b; //输出
    return 0;
}

标签:cout,int,万能,cin,P1001,整形,定义
来源: https://www.cnblogs.com/Fate-hell/p/11431920.html