nim资源

官方

网站:项目入口 https://nim-lang.org/
源代码:GitHub项目地址 https://github.com/nim-lang/nim
nimble:Nim包管理器 https://github.com/nim-lang/nimble
choosenim:工具链安装 https://github.com/dom96/choosenim
社区

论坛:异步的讨论组 https://forum.nim-lang.org/
Twitter:Nim的Twitter账号 https://twitter.com/nim_lang
Reddit:subreddit社区 https://www.reddit.com/r/nim/
IRC:irc.freenode.net上的#nim https://irclogs.nim-lang.org/
学习

文档:一大波文档和教程 https://nim-lang.org/documentation.html
Nim实战:Manning Press出版的一本书 https://www.manning.com/books/nim-in-action
介绍视频:Dominik Picheta的介绍 https://www.youtube.com/watch?v=hzxr9_ZK9uY
发现

nimble directory:nimble的Web前端 https://nimble.directory/
Awesome Nim:精选项目 https://github.com/VPashkov/awesome-nim
Github项目:开源项目,按照最近更新时间排序 https://github.com/search?l=Nim&o=desc&q=nim&s=updated&type=Repositories
编辑器

Vim插件:使用Vim编写Nim https://github.com/zah/nim.vim
VS Code插件:Visual Studio Code插件 https://github.com/pragmagic/vscode-nim
写一些应用

Jester:写Web访问 https://github.com/dom96/jester
Karax:写单页应用 https://github.com/pragmagic/karax
NiGui:写GTK+ 3 / Win32桌面应用 https://github.com/trustable-code/NiGui
Winim,wNim:写Windows应用 https://github.com/khchen/winim;https://github.com/khchen/winim
objc:写macOS应用(开发中) https://github.com/mjendrusch/objc
android:写安卓应用 https://github.com/yglukhov/android
Arranmancer:写深度学习应用 https://github.com/mratsim/Arraymancer
serial.nim:写串口应用 https://github.com/euantorano/serial.nim
libusb:写USB应用 https://github.com/nimious/libusb
Ethereum 2.0:写以太坊……额……之类的(我只能猜到这里了) https://github.com/status-im/nimbus

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Fibonacci Nim是一个游戏,与Fibonacci数列有密切关系。根据引用\[1\]的描述,先手胜利的条件是硬币数量不是Fibonacci数。换句话说,必败态构成Fibonacci数列。如果硬币数量是Fibonacci数,那么后手必胜。这是因为先手只能在Fibonacci数列中的一堆中取硬币,而后手可以根据上一个问题的子问题的解决方案取走该堆最后一枚硬币,从而剩下的一堆硬币也可以如此拆分,使得先手必败。如果硬币数量不是Fibonacci数,根据Zeckendorf定理,可以将硬币数量表示为不连续的Fibonacci数之和。在这种情况下,先手可以先取完最小的一堆硬币,而后手无法取完剩下的最少的一堆硬币,从而面对必败态。因此,先手可以在每一堆中取到最后一枚硬币,从而获胜。\[2\]根据引用\[3\]中的代码,可以通过判断硬币数量是否是Fibonacci数来确定先手或后手的胜利。如果硬币数量是Fibonacci数,输出"Second win";如果不是,输出"First win"。 #### 引用[.reference_title] - *1* *3* [斐波那契博弈](https://blog.csdn.net/iteye_6233/article/details/82396581)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [Fibonacci Nim(斐波那契尼姆)游戏](https://blog.csdn.net/darren0424/article/details/101639021)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值