title: Pizza Cut Problem Circle Division Lines
signature: pizzaCutProblemCircleDivisionLines :: Integer -> Integer
  pizzaCutProblemCircleDivisionLines n = 
test_code: import Text.Printf
  import Control.Exception (catch, SomeException)
  import Data.Typeable
  import qualified Data.List as List
  import qualified Data.Map as Map
  import qualified Data.Set as Set
  
  -- SOLUTION CODE
  -- ============================================
  
  PLACEHOLDER_CODE_BODY
  
  -- TESTING CODE 
  -- ============================================
  validateSolution :: Integer -> Integer -> Bool
  validateSolution actual expected = do
      actual == expected
  
  
  driver :: Integer -> Integer -> String
  driver n expected = do
      if (validateSolution (PLACEHOLDER_FN_NAME n) expected)
          then "PASSED"
      else "FAILED"
  
  main = do
      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) )
  
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;
  }