fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n, x, y;
  6. cin >> n >> x >> y;
  7. cout << n*(x+y) << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 4520KB
stdin
100 20 35
stdout
5500