fork(4) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long int a,b,c,n;
  6. cin >> a >> b >> c;
  7. n= a*b+b*c+a*c; //
  8. cout << n;
  9. return 0;
  10. }
Success #stdin #stdout 0s 15232KB
stdin
772 621 124
stdout
652144