Run ID:70583
提交时间:2024-04-14 20:05:02
# include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<a+(b-a)*(c-1); return 0; }