QOJ.ac

QOJ

Límite de tiempo: 1 s Límite de memoria: 512 MB Puntuación total: 10

#5211. A+B

Estadísticas

这是一个古老的问题,但我们提供了一个稍微更新的版本。任务是将两个数字相加,这次数字可能会非常大。如果 Potyczki Algorytmiczne 能提供某种处理大数的工具就好了……

输入格式

标准输入的第一行包含一个正整数 $a$,它由不超过 $5\,000$ 位数字组成。 标准输入的第二行包含一个正整数 $b$,它由不超过 $5\,000$ 位数字组成。 数字 $a$ 和 $b$ 不包含前导零。

输出格式

在输出的唯一一行中,应包含 $a + b$ 的结果。

样例

输入 1

1997
25

输出 1

2022

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.