提交时间:2021-05-14 19:47:22

运行 ID: 19303

#include<bits/stdc++.h> using namespace std; int main(){ int x,y,t,w,ans,c; cin>>x>>y>>t; w=x*t; c=t*(y-x); ans=w+c+t*2; cout<<ans; return 0; }