Submission #321413


Source Code Expand

main :: IO()
main = do
	h1 <- getLine
	h2 <- getLine
	print (read h1 :: Int + read h2)

Submission Info

Submission Time
Task A - 積雪深差
User adn1040
Language Haskell (GHC 7.4.1)
Score 0
Code Size 90 Byte
Status CE

Compile Error

Main.hs:5:31:
    Illegal operator `+' in type `Int + read h2'
      Use -XTypeOperators to allow operators in types