Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- next :: Int -> [Int]
- next = undefined
- minimum :: Int -> Int -> Int
- minimum k x
- | k < 0 = inf
- | k == 0 = 0
- | k > 0 = min $ next x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement