练11.3 等差数列末项计算
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
给出一个等差数列的前两项,,求第项是多少。
输入格式
一行,包含三个整数,,。,,。
输出格式
一个整数,即第项的值。
样例
1 4 100
298
20240122-B
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 5
- Start at
- 2024-1-22 17:40
- End at
- 2024-1-22 18:40
- Duration
- 1 hour(s)
- Host
- Partic.
- 8