A1000. A+B Problem

2026-02-27 10:26:36

1、问题描述

  输入A,B。  输出A+B。

输入格式

  输入包含两个整数A,B,用一个空格分隔。

输出格式

  输出一个整数,表示A+B的值。

样例输入

5 8

样例输出

13

数据规模和约定

  -1,000,000,000<=A,B<=1,000,000,000。

2、#include <stdio.h>

int main()

{

    int a, b;

    scanf("%d%d", &a, &b);

    printf("%d", a+b);

    return 0;

}

A1000. A+B Problem

猜你喜欢