title: Maximum Points Intersection N Circles
signature: maximum_points_intersection_n_circles <- function(n) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(n, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(n), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          30L, 
          870L
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          25L, 
          600L
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          69L, 
          4692L
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          39L, 
          1482L
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          14L, 
          182L
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          60L, 
          3540L
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          89L, 
          7832L
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          27L, 
          702L
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          29L, 
          812L
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          29L, 
          812L
      )))
  
  }
  
  main()
source_py: def maximum_points_intersection_n_circles(n):
      return (n * (n - 1))
source_cpp: int maximum_points_intersection_n_circles(int n) {
    return n * ( n - 1 );
  }