title: Sum K Th Group Odd Positive Numbers 1
signature: sum_k_th_group_odd_positive_numbers_1 <- function(k) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(k, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(k), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          57L, 
          185193L
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          96L, 
          884736L
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          14L, 
          2744L
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          64L, 
          262144L
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          24L, 
          13824L
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          74L, 
          405224L
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          85L, 
          614125L
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          27L, 
          19683L
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          78L, 
          474552L
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          1L, 
          1L
      )))
  
  }
  
  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;
  }