Run ID:140500
提交时间:2025-12-15 16:36:05
#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<(b-a)*(c-1)+a; }