Compile Error
[1 of 1] Compiling Main ( foo.hs, /tmp/Main.o ) foo.hs:3:17: No instance for (Num String) arising from a use of `+' In the second argument of `($)', namely `a + b' In a stmt of a 'do' block: putStrLn $ a + b In the expression: do { [a, b] <- (map read . words) `fmap` getLine; putStrLn $ a + b } 自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
信息
- 递交者
- 类型
- 递交
- 题目
- P1000 a+b
- 语言
- Haskell
- 递交时间
- 2020-07-21 17:18:44
- 评测时间
- 2020-07-21 17:18:44
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes