title: Sum Binomial Coefficients 1
signature: fun sumBinomialCoefficients1(n: Int): Long {
source_py: def sum_binomial_coefficients_1(n):
      return (1 << n)
source_cpp: int sum_binomial_coefficients_1(int n) {
    return ( 1 << n );
  }
question_info.test_list: [{"idx": 0, "outputs": 281474976710656, "inputs": {"n": 48}}, {"idx": 1, "outputs": 4398046511104, "inputs": {"n": 42}}, {"idx": 2, "outputs": 32768, "inputs": {"n": 15}}, {"idx": 3, "outputs": 8388608, "inputs": {"n": 23}}, {"idx": 4, "outputs": 2199023255552, "inputs": {"n": 41}}, {"idx": 5, "outputs": 70368744177664, "inputs": {"n": 46}}, {"idx": 6, "outputs": 68719476736, "inputs": {"n": 36}}, {"idx": 7, "outputs": 9007199254740992, "inputs": {"n": 53}}]
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:Long, expected:Long):Boolean{
    return actual.equals(expected)
  }
  fun driver(n: Int, expected:Long):String {
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME(n), expected)) {
                return "PASSED"
        }
        return "FAILED"
      } catch (e: Exception){
        return e::class.simpleName as String
      }
  
  }
  
  fun main() {
      var result: String = ""
      result = driver(48, 281474976710656)
      println("TEST-0...${result}")
      
      result = driver(42, 4398046511104)
      println("TEST-1...${result}")
      
      result = driver(15, 32768)
      println("TEST-2...${result}")
      
      result = driver(23, 8388608)
      println("TEST-3...${result}")
      
      result = driver(41, 2199023255552)
      println("TEST-4...${result}")
      
      result = driver(46, 70368744177664)
      println("TEST-5...${result}")
      
      result = driver(36, 68719476736)
      println("TEST-6...${result}")
      
      result = driver(53, 9007199254740992)
      println("TEST-7...${result}")
      
          
  }
  
  main()
question_info.entry_fn_name: sumBinomialCoefficients1
question_info.entry_cls_name: Solution
question_info.test_case_ids: 0 1 2 3 4 5 6 7
question_info.commands: kotlinc -script __FILENAME__ -no-reflect -nowarn