Untitled
Anonymous
Plain Text
08/15/2024 10:19 AM
266 B
14
Indexable
Never
#include <iostream>
using namespace std;
typedef long long ll;
int main(){ // DAYXICH
freopen("DAYXICH.inp","r",stdin);
freopen("DAYXICH.out","w",stdout);
short d, r; ll n;
cin >> d >> r >> n;
cout << 2*d + 2*r*n << endl;
return 0;
}Editor is loading...
Leave a Comment