Run ID:96919
提交时间:2024-11-09 19:05:55
#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<a+(b-a)*(c-1)<<endl; }