title: Area Of The Circle That Has A Square And A Circle Inscribed In It
signature: class Solution {
  
      public Double areaOfTheCircleThatHasASquareAndACircleInscribedInIt(Integer a) {
source_py: def area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(a):
      area = (((math.pi * a) * a) / 4)
      return area
source_cpp: float area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(int a) {
    float area = ( M_PI * a * a ) / 4.0;
    return area;
  }
question_info.extension: java
question_info.entry_fn_name: areaOfTheCircleThatHasASquareAndACircleInscribedInIt
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": 4656.625710783471, "inputs": {"a": 77}}, {"idx": 1, "outputs": 254.46900494077323, "inputs": {"a": 18}}, {"idx": 2, "outputs": 5410.607947645021, "inputs": {"a": 83}}, {"idx": 3, "outputs": 1194.5906065275187, "inputs": {"a": 39}}, {"idx": 4, "outputs": 3631.6811075498013, "inputs": {"a": 68}}, {"idx": 5, "outputs": 615.7521601035994, "inputs": {"a": 28}}, {"idx": 6, "outputs": 3959.192141686537, "inputs": {"a": 71}}, {"idx": 7, "outputs": 153.93804002589985, "inputs": {"a": 14}}, {"idx": 8, "outputs": 346.36059005827474, "inputs": {"a": 21}}, {"idx": 9, "outputs": 4185.386812745001, "inputs": {"a": 73}}]
question_info.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer a, Double expected){
          try{
              Driver driver = new Driver();
              if (driver.run(a,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(77, 4656.625710783471);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(18, 254.46900494077323);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(83, 5410.607947645021);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(39, 1194.5906065275187);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(68, 3631.6811075498013);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(28, 615.7521601035994);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(71, 3959.192141686537);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(14, 153.93804002589985);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(21, 346.36059005827474);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(73, 4185.386812745001);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer a, Double expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(a),expected);
      }
      
      public boolean validateSolution(Double actual, Double expected){
          return Math.abs(actual - expected) < 1e-09;
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: java __FILENAME__