fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. long long N, K, L;
  7. cin >> N >> K >> L;
  8.  
  9. // Calculate the area of the union of the squares.
  10. long long area = N * L * K;
  11.  
  12. cout << area << endl;
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 5296KB
stdin
4 1 2
stdout
8