/ Vijos / 比赛 / test /

A+B Problem

A+B Problem

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

Background

Special for beginners, ^_^

Description

Given two integers x and y, print the sum.

Format

Input

Two integers x and y, satisfying 0 <= x, y <= 32767.

Output

One integer, the sum of x and y.

Sample 1

Input

1 1

Output

2

Limitation

1s, 16384KiB for each test case.

Hint

C Code

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

C++ Code

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

test

未参加
状态
已结束
规则
OI
题目
1
开始于
2019-09-26 20:30
结束于
2019-09-26 20:36
持续时间
0.1 小时
主持人
参赛人数
2