《计算机组成及汇编语言原理》学习第 13 天,p177-p177 总结,总计 1 页。
一、技术总结
1.real mode
A programming model where the program has access to the entire capability of the machine, bypassing security and memory management. Useful…
class Solution(object):def rob(self, nums):""":type nums: List[int]:rtype: int"""# 使用动态规划,把之前的给保存起来ans[0,nums[-1]]for i in range(1,len(nums)):ans.append(max(ans[-1],ans[-2]nums[-1*i-1]))return ans[-1]…