fork(1) download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. unsigned int A, B, C;
  7. cin >> A >> B >> C;
  8. cout << (A*B*C - 1);
  9. return 0;
  10. }
Success #stdin #stdout 0s 3460KB
stdin
2 3 4


stdout
23