ACMSGURU 100 - A+B

2021-08-11 11:13:01 浏览数 (1)

A B

Problem Description

Read integers A and B from input file and write their sum in output file.

Input

Input file contains A and B (0<A,B<10001).

Output

Write answer in output file.

Sample Input

代码语言:javascript复制
5 3

Sample Output

代码语言:javascript复制
8

Solution

代码语言:javascript复制
#include <bits/stdc  .h>

int main() {
    std::ios::sync_with_stdio(false);

    unsigned short a{};
    unsigned short b{};

    std::cin >> a >> b;
    std::cout << a   b << std::endl;
}

0 人点赞