3430: 等差数列末项计算

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

[md] 给出一个等差数列的前两项$a_1,a_2$,求第$n$项是多少。 [/md]

Sample Input Copy

1 4 100

Sample Output Copy

298