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
阅读全文
摘要:
阅读全文
摘要:使用ghcup安装haskell 详细参考如下 GHCup 源使用帮助 — USTC Mirror Help 文档 windows: # Windows 用户:以非管理员身份在 PowerShell 中运行如下命令 $env:BOOTSTRAP_HASKELL_YAML = 'https://mir
阅读全文