title: Sum Binomial Coefficients 1
signature: class Solution {
  
      public Long sumBinomialCoefficients1(Integer n) {
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.extension: java
question_info.entry_fn_name: sumBinomialCoefficients1
question_info.entry_cls_name: Solution
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.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer n, Long expected){
          try{
              Driver driver = new Driver();
              if (driver.run(n,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(48, 281474976710656L);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(42, 4398046511104L);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(15, 32768L);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(23, 8388608L);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(41, 2199023255552L);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(46, 70368744177664L);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(36, 68719476736L);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(53, 9007199254740992L);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer n, Long expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(n),expected);
      }
      
      public boolean validateSolution(Long actual, Long expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
question_info.test_case_ids: 0 1 2 3 4 5 6 7
question_info.commands: java __FILENAME__