Created
June 11, 2012 10:36
-
-
Save amutake/2909496 to your computer and use it in GitHub Desktop.
Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Control.Applicative | |
import Control.Monad | |
import Data.List | |
main = do | |
[m, n] <- map read . words <$> getLine | |
s <- forM [1..m] (\x -> getLine) | |
putStrLn $ show $ s !! n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment