Submission #161695


Source Code Expand

import Data.List
import Data.Bits
import Control.Applicative
import Control.Monad

readInts :: IO [Int]
readInts = map read . words <$> getLine

main = do
  [n] <- getInts
  print $ n - 1

Submission Info

Submission Time
Task A - 植木算
User cympfh
Language Haskell (GHC 7.4.1)
Score 0
Code Size 199 Byte
Status CE

Compile Error

Main.hs:10:10: Not in scope: `getInts'