title: Gcd Elements Given Range
signature: gcdElementsGivenRange :: Integer -> Integer -> Integer
  gcdElementsGivenRange n m = 
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 -> Integer -> String
  driver n m expected = do
      if (validateSolution (PLACEHOLDER_FN_NAME n m) expected)
          then "PASSED"
      else "FAILED"
  
  main = do
      printf "TEST-0...%s\n" (driver (57) (57) (57) )
  
      printf "TEST-1...%s\n" (driver (22) (22) (22) )
  
      printf "TEST-2...%s\n" (driver (17) (17) (17) )
  
      printf "TEST-3...%s\n" (driver (74) (74) (74) )
  
      printf "TEST-4...%s\n" (driver (93) (22) (1) )
  
      printf "TEST-5...%s\n" (driver (56) (54) (1) )
  
      printf "TEST-6...%s\n" (driver (5) (33) (1) )
  
      printf "TEST-7...%s\n" (driver (5) (68) (1) )
  
      printf "TEST-8...%s\n" (driver (9) (75) (1) )
  
      printf "TEST-9...%s\n" (driver (98) (21) (1) )
  
source_py: def gcd_elements_given_range(n, m):
      return (n if (n == m) else 1)
source_cpp: int gcd_elements_given_range(int n, int m) {
    return ( n == m ) ? n : 1;
  }