#H. 练11.3 等差数列末项计算

    Type: RemoteJudge 1000ms 128MiB

练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.

说明

给出一个等差数列的前两项a1a_1a2a_2,求第nn项是多少。

输入格式

一行,包含三个整数a1a_1a2a_2nn100a1−100≤a_1,a2100a_2≤1000<n10000< n ≤ 1000

输出格式

一个整数,即第nn项的值。

样例

1 4 100
298

【周天10:30】 10月6日

Not Claimed
Status
Done
Problem
10
Open Since
2024-10-6 0:00
Deadline
2024-10-13 23:59
Extension
24 hour(s)