0
点赞
收藏
分享

微信扫一扫

10000. A+B=?

快乐码农Alan007 2022-05-02 阅读 57
算法

输入格式:

输出格式:

限制:

样例 1 :

C语言:

#include <stdio.h>
int main()
{
	int a,b,c;
	scanf("%d %d",&a,&b);
	c=a+b;
	printf("%d",c);
	return 0;
}

C++:

#include <iostream>
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b;
	c=a+b;
	cout<<c<<endl;
	return 0;
}

Go语言:

举报

相关推荐

反转a+b

计算A+B

A+B Problem

A加上B(A+B Problem)

5880: (a+b)×c

Java:A+B问题

1016 部分A+B

0 条评论