title: Pizza Cut Problem Circle Division Lines
signature: function pizzaCutProblemCircleDivisionLines($n) {
test_code: <?php
  
  
  // SOLUTION CODE 
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function validateSolution($actual, $expected){
      return serialize($actual) == serialize($expected);
  }
  
  function driver($n, $expected){
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME($n), $expected)){
          return "PASSED";
        }
        return "FAILED";
      }
      catch (Exception $exception_obj) {
        return get_class($exception_obj);
      }
  }
  
  function main(){
      printf("TEST-0...%s\n",driver(
        46, 
        1082));
      
      printf("TEST-1...%s\n",driver(
        68, 
        2347));
      
      printf("TEST-2...%s\n",driver(
        4, 
        11));
      
      printf("TEST-3...%s\n",driver(
        12, 
        79));
      
      printf("TEST-4...%s\n",driver(
        56, 
        1597));
      
      printf("TEST-5...%s\n",driver(
        14, 
        106));
      
      printf("TEST-6...%s\n",driver(
        81, 
        3322));
      
      printf("TEST-7...%s\n",driver(
        29, 
        436));
      
      printf("TEST-8...%s\n",driver(
        26, 
        352));
      
      printf("TEST-9...%s\n",driver(
        40, 
        821));
      
  }
  
  main();
  ?>
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;
  }