title: Pizza Cut Problem Circle Division Lines
signature: pizzaCutProblemCircleDivisionLines(n) {
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(n, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(n), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          46, 
          1082)
      }");
  
      print("TEST-1...${driver(
          68, 
          2347)
      }");
  
      print("TEST-2...${driver(
          4, 
          11)
      }");
  
      print("TEST-3...${driver(
          12, 
          79)
      }");
  
      print("TEST-4...${driver(
          56, 
          1597)
      }");
  
      print("TEST-5...${driver(
          14, 
          106)
      }");
  
      print("TEST-6...${driver(
          81, 
          3322)
      }");
  
      print("TEST-7...${driver(
          29, 
          436)
      }");
  
      print("TEST-8...${driver(
          26, 
          352)
      }");
  
      print("TEST-9...${driver(
          40, 
          821)
      }");
  
      return 0;
  }
source_py: def pizza_cut_problem_circle_division_lines(n):
      return int((1 + ((n * (n + 1)) / 2)))
source_cpp: int pizza_cut_problem_circle_division_lines(int n) {
    return 1 + n * ( n + 1 ) / 2;
  }