跳到正文

题解

题解:P1001 A+B Problem

chenhaozhe123约 1 分钟
原文
文章信息与版本

文章信息

发布
2025年3月30日
收录
2025年12月12日
更新
2026年11月17日
篇幅
约 1 分钟
题目
P1001

版本

  1. v1当前

非常简单,代码如下

C++
#include<bits/stdc++.h>//万能脑袋(头)
#define int long long//red(宏)定义
using namespace std;
signed main()
{
	ios::sync_with_stdio(false);
	cin.tie(0); cout.tie(0);
	int a,b;
	cin>>a>>b;
	cout<<a+b;
    return 0;
}
 
原文