/ Vijos /

记录详情

Compile Error

[1 of 1] Compiling Main             ( /in/foo.hs, /tmp/Main.o )

/in/foo.hs:6:40: error:
    * Couldn't match expected type `[(a0 -> a0 -> a0)
                                     -> Integer -> Integer]'
                  with actual type `Integer -> Integer -> [Integer]'
    * Probable cause: `list' is applied to too few arguments
      In the second argument of `map', namely `list'
      In the second argument of `(:)', namely
        `map (\ x -> (x * x) mod b) list'
      In the expression: a : map (\ x -> (x * x) mod b) list

信息

递交者
类型
自测
题目
P1032 循环
语言
Haskell
递交时间
2018-02-24 10:13:50
评测时间
2018-02-24 10:13:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes