title: Sum K Th Group Odd Positive Numbers 1
signature: sumKThGroupOddPositiveNumbers1(k) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(int actual, int expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(k, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(k), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          57, 
          185193)
      }");
  
      print("TEST-1...${driver(
          96, 
          884736)
      }");
  
      print("TEST-2...${driver(
          14, 
          2744)
      }");
  
      print("TEST-3...${driver(
          64, 
          262144)
      }");
  
      print("TEST-4...${driver(
          24, 
          13824)
      }");
  
      print("TEST-5...${driver(
          74, 
          405224)
      }");
  
      print("TEST-6...${driver(
          85, 
          614125)
      }");
  
      print("TEST-7...${driver(
          27, 
          19683)
      }");
  
      print("TEST-8...${driver(
          78, 
          474552)
      }");
  
      print("TEST-9...${driver(
          1, 
          1)
      }");
  
      return 0;
  }
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;
  }