fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x, y, f;
  6. cin >> x >> y >> f;
  7. cout << min(x * 12, y * 12 + f) << '\n';
  8. }
  9.  
Success #stdin #stdout 0s 5308KB
stdin
Standard input is empty
stdout
-652692034