A. A+B Problem

    传统题 1000ms 256MiB

A+B Problem

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

Background

This is a classic introductory problem designed to help users get familiar with the Online Judge (OJ) registration and submission process. It is also commonly used by administrators for OJ server stress testing.

Welcome to the world of programming! Successfully solving this problem means you’ve mastered the most basic programming task: the “1+11 + 1” problem. Of course, this problem isn’t actually about calculating 1+11 + 1 — instead, you’ll need to compute the sum of A+BA + B.

Description

You are given two integers, AA and BB. Write a program to automatically calculate and output their sum.

I/O Format

Input Format

The input consists of a single line containing two integers AA and BB, separated by a space.

All inputs are guaranteed to be within the int\texttt{int} range.

Output Format

Output a single line containing one integer — the sum of AA and BB.

I/O Example

2 3
5

Hint

Be aware that adding two int\texttt{int} values may result in a sum that exceeds the int\texttt{int} range.

2025国庆结训赛(热身赛)(大一)

未参加
状态
已结束
规则
XCPC
题目
5
开始于
2025-10-4 20:00
结束于
2025-10-4 20:30
持续时间
0.5 小时
主持人
参赛人数
22