Run ID:93917
提交时间:2024-10-19 15:26:34
#include<iostream>; using namespace std; int main(){ int a1,a2,n; cin>>a1>>a2>>n; cout<<(a1-a2)*(n-1); }