08 2022 档案

摘要:核心代码为 foldl (\x y -> x `xor` y) 0 $ filter (\x -> bits !! x /= 0) [0..length bits - 1] import Data.Bits solve bits = foldl (\x y -> x `xor` y) 0 $ fil 阅读全文
posted @ 2022-08-25 23:06 七つ一旋桜 阅读(30) 评论(0) 推荐(0)
摘要:![image](https://img2022.cnblogs.com/blog/2267877/202208/2267877-20220823160111991-687621180.jpg) 阅读全文
posted @ 2022-08-23 16:02 七つ一旋桜 阅读(47) 评论(0) 推荐(0)
摘要:使用ghcup安装haskell 详细参考如下 GHCup 源使用帮助 — USTC Mirror Help 文档 windows: # Windows 用户:以非管理员身份在 PowerShell 中运行如下命令 $env:BOOTSTRAP_HASKELL_YAML = 'https://mir 阅读全文
posted @ 2022-08-06 10:50 七つ一旋桜 阅读(912) 评论(0) 推荐(1)