Compile Error
[1 of 1] Compiling Main ( /in/foo.hs, /tmp/Main.o )
/in/foo.hs:8:17: error:
* Couldn't match expected type `(Integer -> Integer -> Integer)
-> Integer -> Integer'
with actual type `Integer'
* The function `s * s' is applied to two arguments,
but its type `Integer' has none
In the expression: (s * s) mod b
In an equation for `sth': sth s = (s * s) mod b
信息
- 递交者
- 类型
- 自测
- 题目
- P1032 循环
- 语言
- Haskell
- 递交时间
- 2018-02-24 10:24:50
- 评测时间
- 2018-02-24 10:24:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes