title: Sum K Th Group Odd Positive Numbers 1
signature: function sum_k_th_group_odd_positive_numbers_1(k)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return actual == expected
  end
  
  function driver(k, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(k), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(57, 185193);
      @printf("TEST-0...%s\n",result);
      
      result = driver(96, 884736);
      @printf("TEST-1...%s\n",result);
      
      result = driver(14, 2744);
      @printf("TEST-2...%s\n",result);
      
      result = driver(64, 262144);
      @printf("TEST-3...%s\n",result);
      
      result = driver(24, 13824);
      @printf("TEST-4...%s\n",result);
      
      result = driver(74, 405224);
      @printf("TEST-5...%s\n",result);
      
      result = driver(85, 614125);
      @printf("TEST-6...%s\n",result);
      
      result = driver(27, 19683);
      @printf("TEST-7...%s\n",result);
      
      result = driver(78, 474552);
      @printf("TEST-8...%s\n",result);
      
      result = driver(1, 1);
      @printf("TEST-9...%s\n",result);
      
  end
  
  main()
source_py: def sum_k_th_group_odd_positive_numbers_1(k):
      return ((k * k) * k)
source_cpp: int sum_k_th_group_odd_positive_numbers_1(int k) {
    return k * k * k;
  }