title: Calculate Volume Dodecahedron
signature: fun calculateVolumeDodecahedron(side: Int): Double {
source_py: def calculate_volume_dodecahedron(side):
      return (((15 + (7 * math.sqrt(5))) / 4) * math.pow(side, 3))
source_cpp: double calculate_volume_dodecahedron(int side) {
    return ( ( ( 15 + ( 7 * ( sqrt ( 5 ) ) ) ) / 4 ) * ( pow ( side, 3 ) ) );
  }
question_info.test_list: [{"idx": 0, "outputs": 1345766.2993890555, "inputs": {"side": 56}}, {"idx": 1, "outputs": 2981083.5487053124, "inputs": {"side": 73}}, {"idx": 2, "outputs": 81596.89069273109, "inputs": {"side": 22}}, {"idx": 3, "outputs": 7663.118960624633, "inputs": {"side": 10}}, {"idx": 4, "outputs": 4541961.260438062, "inputs": {"side": 84}}, {"idx": 5, "outputs": 61304.95168499706, "inputs": {"side": 20}}, {"idx": 6, "outputs": 1016520.3932458181, "inputs": {"side": 51}}, {"idx": 7, "outputs": 5774704.218276865, "inputs": {"side": 91}}, {"idx": 8, "outputs": 7663.118960624633, "inputs": {"side": 10}}, {"idx": 9, "outputs": 4381671.801138677, "inputs": {"side": 83}}]
question_info.extension: kts
question_info.test_code: package main
  
  import kotlin.text.*
  import kotlin.math.*
  
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  fun validateSolution(actual:Double, expected:Double):Boolean{
    return abs(actual - expected) < 1e-09
  }
  fun driver(side: Int, expected:Double):String {
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME(side), expected)) {
                return "PASSED"
        }
        return "FAILED"
      } catch (e: Exception){
        return e::class.simpleName as String
      }
  
  }
  
  fun main() {
      var result: String = ""
      result = driver(56, 1345766.2993890555)
      println("TEST-0...${result}")
      
      result = driver(73, 2981083.5487053124)
      println("TEST-1...${result}")
      
      result = driver(22, 81596.89069273109)
      println("TEST-2...${result}")
      
      result = driver(10, 7663.118960624633)
      println("TEST-3...${result}")
      
      result = driver(84, 4541961.260438062)
      println("TEST-4...${result}")
      
      result = driver(20, 61304.95168499706)
      println("TEST-5...${result}")
      
      result = driver(51, 1016520.3932458181)
      println("TEST-6...${result}")
      
      result = driver(91, 5774704.218276865)
      println("TEST-7...${result}")
      
      result = driver(10, 7663.118960624633)
      println("TEST-8...${result}")
      
      result = driver(83, 4381671.801138677)
      println("TEST-9...${result}")
      
          
  }
  
  main()
question_info.entry_fn_name: calculateVolumeDodecahedron
question_info.entry_cls_name: Solution
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: kotlinc -script __FILENAME__ -no-reflect -nowarn