2019年7月2日

Linux下的零拷贝

摘要: Reference: https://segmentfault.com/a/1190000011989008 零拷贝是什么? 维基百科对“零拷贝”是这样描述的: "Zero-copy" describes computer operations in which the CPU does not p 阅读全文

posted @ 2019-07-02 17:37 alex.shu 阅读(1011) 评论(0) 推荐(0) 编辑

0-1背包问题

摘要: Reference: https://www.jianshu.com/p/a66d5ce49df5 问题描述: 0-1背包问题:给定n种物品和一背包。物品 i 的重量似乎 wi,其价值为 vi,背包的容量为 c。问应该如何选择装入背包中的物品,使得装入背包中物品的总价值最大? 说实在的,书上讲的东西 阅读全文

posted @ 2019-07-02 11:24 alex.shu 阅读(8849) 评论(0) 推荐(5) 编辑

导航