Information
- ID
- 1254
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 10
- Tags
- # Submissions
- 5
- Accepted
- 3
- Uploaded By
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin >> a >> b >> c;
cout << (b - a) * c - ((b - a) * 2 - b);
return 0;
}
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.