Run ID:75891

提交时间:2024-06-01 08:52:12

#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<(c-1)*(b-a)+a; return 0; }