Skip to main content
1 of 5
Joey Adams
  • 10.6k
  • 3
  • 35
  • 56

Haskell function - 31

import List
f=(.sort).(==).sort

Haskell program - 81

import Control.Applicative
import List
main=(.sort).(==).sort<$>getLine<*>getLine
Joey Adams
  • 10.6k
  • 3
  • 35
  • 56