#abc214a. A - New Generation ABC
A - New Generation ABC
Score : points
问题描述
这是第 届 AtCoder 初级比赛(ABC)。
迄今为止,ABC 比赛已有的题目数量如下:
- 第 至第 届 ABC 每届有 道题目。
- 第 至第 届 ABC 每届有 道题目。
- 第 至第 届 ABC 每届有 道题目。
请找出第 届 ABC 的题目数量。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
This is the -th AtCoder Beginner Contest (ABC).
The ABCs so far have had the following number of problems.
- The -st through -th ABCs had problems each.
- The -th through -th ABCs had problems each.
- The -th through -th ABCs have problems each.
Find the number of problems in the -th ABC.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
214
Sample Output 1
8
Sample Input 2
1
Sample Output 2
4
Sample Input 3
126
Sample Output 3
6
update @ 2024/3/10 09:30:58