問題一覧 > 教育的問題

No.2086 A+B Problem

レベル : / AI推定難易度 : 214 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 201
作問者 : 👑 p-adic / テスター : 👑 qand
お気に入りにしたユーザー ProblemId : 8380 / 自分の提出
問題文最終更新日: 2022-09-30 21:02:59
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 362 (順位表) の他の問題:

Problem Statement

This problem is an homage to No.1088 A+B Problem.

 

You are given non-negative integers $A$ and $B$ as input.

 

Find $A + B$.

Input

The input is given from standard input in the following format:

$A$
$B$

Constraints

The input values $A,B$ satisfy the following constraints:

  • $A$ is a non-negative integer less than or equal to $10^{100}$
  • $B$ is a non-negative integer less than or equal to $10^{100}$

Output

Print $A + B$ on $1$ line.

Print a newline at the end.

Sample

Sample 1
Input
1
1
Output
2

$1 + 1$ is $2$.

Sample 2
Input
2
1
Output
3

$2 + 1$ is $3$.

Sample 3
Input
10000000000
1
Output
10000000001

$10000000000 + 1$ is $10000000001$.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。