xkcd_knapsack:http解决方案-源码

上传者: 42144086 | 上传时间: 2021-07-14 17:03:51 | 文件大小: 8KB | 文件类型: ZIP
xkcd_背包 解决 入门 克隆 reop git clone 安装依赖 bundle install 运行规范 rspec 使 CLI 可执行 chmod +x bin/cli 命令行使用 bin/cli -f 或者 bin/cli --file 任一命令都将读取数据文件并输出菜单项的不同可能组合,其中组合的总和等于目标价格(数据文件的第一行)。 如果没有找到组合,它将输出... No combination of menu items is equal in cost to the target price"

文件下载

资源详情

[{"title":"( 21 个子文件 8KB ) xkcd_knapsack:http解决方案-源码","children":[{"title":"xkcd_knapsack-master","children":[{"title":".rspec <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"cli <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"menu.txt <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"menu2.txt <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"spec","children":[{"title":"xkcd_knapsack","children":[{"title":"currency_utils_spec.rb <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"file_reader_spec.rb <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"items_spec.rb <span style='color:#111;'> 613B </span>","children":null,"spread":false},{"title":"order_spec.rb <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"item_spec.rb <span style='color:#111;'> 214B </span>","children":null,"spread":false}],"spread":true},{"title":"spec_helper.rb <span style='color:#111;'> 65B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 613B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"xkcd_knapsack.rb <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"xkcd_knapsack","children":[{"title":"order.rb <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"currency_utils.rb <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"item.rb <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"items.rb <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"file_reader.rb <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"menu3.txt <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"menu4.txt <span style='color:#111;'> 43B </span>","children":null,"spread":false},{"title":"Gemfile <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"Gemfile.lock <span style='color:#111;'> 447B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明