- 博客(2)
- 资源 (2)
- 收藏
- 关注
翻译 Assembly Language vs2017环境配置教程(基于x86处理器)author:Kip Irvine
This tutorial assumes that you are using the Seventh Edition ofAssembly Language for x86 Processors, and you are using Visual Studio 2017 Community Edition. Right-click here to download the code exa...
2019-03-30 21:44:18
1085
原创 修道士与野人问题
问题描述 假设有 n 个修道士和 n 个野人准备渡河,但只有一条能容纳 c 人的小船,为了防止野人侵犯修道士,要求无论在何处,修道士的个数不得少于野人的人数(除非修道士个数为0)。如果两种人都会划船,试设计一个算法,确定他们能否渡过河去,若能,则给出一个小船来回次数最少的最佳方案。 解题思路 采用邻接表做为存储结构,将各种状态之间的迁移图保存下来 用一个三元组(x1, x2, x3)表示渡河过...
2018-12-07 11:33:46
3134
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人