fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. int main(){
  7. // freopen("input.txt", "r", stdin);
  8. // freopen("output.txt", "w", stdout);
  9. long long x,y,z;
  10. cin >> x >> y >> z;
  11. cout << 3*x+5*y+12*z;
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0s 544KB
stdin
1000000000 1000000000 1000000000
stdout
20000000000