Untitled
unknown
plain_text
2 years ago
139 B
8
Indexable
#include <iostream>
using namespace std;
int main() {
long long x, y, z;
cin >> x >> y >> z;
cout << (x * 3) + (y * 5) + (z * 12);
}
Editor is loading...
#include <iostream>
using namespace std;
int main() {
long long x, y, z;
cin >> x >> y >> z;
cout << (x * 3) + (y * 5) + (z * 12);
}