#P1007. 等差数列末项计算
等差数列末项计算
Description
给出一个等差数列的前两项 $a_1,a_2$,求 $a_n$。Input Format
一行三个整数 $a_1,a_2,n$。Output Format
一行一个整数。1 4 100298
1 4 100298
By signing up a 奇点编程 universal account, you can submit code and join discussions in all online judging services provided by us.