拓展题 - 等差数列
No testdata at current.
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.
题目描述
给出一个等差数列的前两项a1,a2,求第n项是多少。
输入输出说明
输入说明
一行,包含三个整数a1,a2,n。
输出说明
一个整数,即第n项的值。
题目样例
样例输入
1 4 100
样例输出
298
提示
对于 100% 的数据,满足 −100≤a1,a2≤1000。
小孩头保卫战之神秘的假期
- Status
- Done
- Rule
- XCPC
- Problem
- 11
- Start at
- 2025-6-18 10:00
- End at
- 2025-6-22 14:00
- Duration
- 100 hour(s)
- Host
- Partic.
- 37