这只是一个愚蠢的样例。
你需要编写一个程序,在给定两个整数的情况下,计算它们的和。
输入格式
输入从标准输入读取。第一行也是唯一的一行包含两个整数 $A$ 和 $B$。
输出格式
程序应向标准输出写入一行,包含一个整数:$A$ 和 $B$ 的和。
样例
输入样例 1
5 7
输出样例 1
12
数据范围
$0 \le A, B \le 50\,000$。
子任务
对于 $30\%$ 的测试数据,$A, B \le 10$。
这只是一个愚蠢的样例。
你需要编写一个程序,在给定两个整数的情况下,计算它们的和。
输入从标准输入读取。第一行也是唯一的一行包含两个整数 $A$ 和 $B$。
程序应向标准输出写入一行,包含一个整数:$A$ 和 $B$ 的和。
5 7
12
$0 \le A, B \le 50\,000$。
对于 $30\%$ 的测试数据,$A, B \le 10$。
| ID | Type | Status | Title | Posted By | Last Updated | Actions |
|---|---|---|---|---|---|---|
| Editorial | Open | Official Editorial | Qingyu | - | Download |
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.
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: