title: Program Calculate Volume Ellipsoid
signature: double programCalculateVolumeEllipsoid(double r1, double r2, double r3) {
test_code: #include <algorithm>
  #include <assert.h>
  #include <cstdlib>
  #include <iostream>
  #include <map>
  #include <set>
  #include <string>
  #include <tuple> 
  #include <unordered_map>
  #include <vector>
  #include <math.h>
  #include <cmath>
  #include <bits/stdc++.h>
  #include <numeric>
  #include <functional>
  
  using namespace std;
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(double actual, double expected){
      return abs(actual - expected) < 1e-09;
  }
  
  string driver(double r1, double r2, double r3, double expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(r1, r2, r3), expected)){
              return "PASSED";
          }
          return "FAILED";
      }
      catch (const std::overflow_error& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (const std::runtime_error& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (const std::exception& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (...)
      {
          return "UNK_ERROR";
      }
  }
  
  int main() {
      string result = "";
  
      result = driver(3287.4842316041018, 4503.332888443404, 8590.24729914204, 531379639833.05774); 
      cout << "TEST-" << 0 << "..."
           <<  result
           << "\n";
  
      result = driver(-3707.427510963942, -6671.335781753231, -2780.4954870801926, -287348660250.6971); 
      cout << "TEST-" << 1 << "..."
           <<  result
           << "\n";
  
      result = driver(8980.643174783816, 3584.781688607942, 2818.469507143102, 379127256148.80035); 
      cout << "TEST-" << 2 << "..."
           <<  result
           << "\n";
  
      result = driver(-2698.0187368852694, -1004.7289573934537, -9602.530725071243, -108762980362.90225); 
      cout << "TEST-" << 3 << "..."
           <<  result
           << "\n";
  
      result = driver(8627.156664162168, 9572.27618966978, 4783.930377855004, 1650704251171.7974); 
      cout << "TEST-" << 4 << "..."
           <<  result
           << "\n";
  
      result = driver(-7316.329924623669, -6591.043206581106, -9760.465488363216, -1966615618344.9363); 
      cout << "TEST-" << 5 << "..."
           <<  result
           << "\n";
  
      result = driver(7857.3846206400485, 3671.761679299217, 2534.5825334137794, 305534635263.3107); 
      cout << "TEST-" << 6 << "..."
           <<  result
           << "\n";
  
      result = driver(-6502.657905007728, -1412.2240121470609, -6135.238350044512, -235411379188.32523); 
      cout << "TEST-" << 7 << "..."
           <<  result
           << "\n";
  
      result = driver(4468.400513325576, 2272.1999139470304, 4753.075799180736, 201639162973.6474); 
      cout << "TEST-" << 8 << "..."
           <<  result
           << "\n";
  
      result = driver(-7231.864791620428, -8036.087711033032, -6456.263512521035, -1567753314543.6833); 
      cout << "TEST-" << 9 << "..."
           <<  result
           << "\n";
  
      return 0;
  }
source_py: def program_calculate_volume_ellipsoid(r1, r2, r3):
      return ((((1.33 * math.pi) * r1) * r2) * r3)
source_cpp: float program_calculate_volume_ellipsoid(float r1, float r2, float r3) {
    float pi = 3.14;
    return 1.33 * pi * r1 * r2 * r3;
  }