上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 只要在[]中使用寄存器bp,而指令中没有显性地给出段地址,段地址就默认在ss中。 mov ax,[bp] 含义:(ax) = ((ss)*16+(bp)) mov ax,[bp+idata] 含义:(ax) = ((ss)*16+(bp)+idata) mov ax,[bp+si] 含义:(ax) = ((ss)*16+(bp)+(si)) mov ax,[bp+si+idata] 含义:(a... 阅读全文
posted @ 2018-01-19 21:55 ninding 阅读(258) 评论(0) 推荐(0) 编辑
摘要: assume cs:codesg, es:table , ds:data data segment db '1975','1976','1977','1978','1979','1980','1981','1982','1983' db '1984','1985','1986','1987','1988','1989','1990',' 阅读全文
posted @ 2018-01-19 21:54 ninding 阅读(190) 评论(0) 推荐(0) 编辑
摘要: assume cs:codesg, ss:stacksg, ds:datasg stacksg segment dw 0,0,0,0,0,0,0,0 stacksg ends datasg segment db '1. display ' db '2. brows ' db '3. replace ' db '4. ... 阅读全文
posted @ 2018-01-19 20:08 ninding 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 报错信息: Type Status Report Message HTTP method GET is not supported by this URL Description The method received in the request-line is known by the orig 阅读全文
posted @ 2018-01-03 22:41 ninding 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 一般MS-DOS中不包含masm、debug和edit这三个程序。 我们想要把这几个文件导入到wmware workstation pro中的DOS虚拟机中怎么做呢? 【尝试】 1.我试过用共享文件夹的方式,在DOS中无法显示。 2.我又试了将文件夹打包成iso镜像文件挂载进系统,在系统中还是没显示 阅读全文
posted @ 2017-12-25 21:04 ninding 阅读(671) 评论(0) 推荐(0) 编辑
摘要: 1.下载notepad++。 2.将代码粘贴进notepad++,或者直接用notepad++打开。 3.点击顶栏 > 插件 > NppExport > cope HTML to clipboard。 4.然后在word中直接ctrl+v即可实现高亮。 阅读全文
posted @ 2017-12-24 23:11 ninding 阅读(850) 评论(0) 推荐(0) 编辑
摘要: 题目:https://leetcode.com/problems/kth-smallest-number-in-multiplication-table/description/ 668. Kth Smallest Number in Multiplication Table 668. Kth Sm 阅读全文
posted @ 2017-12-18 23:45 ninding 阅读(250) 评论(1) 推荐(0) 编辑
摘要: 题目: 190. Reverse Bits 190. Reverse Bits 190. Reverse Bits 190. Reverse Bits Reverse bits of a given 32 bits unsigned integer. For example, given input 阅读全文
posted @ 2017-12-18 22:38 ninding 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 找遍所有路径,特判以根为起点的串即可。 代码: 阅读全文
posted @ 2017-12-18 01:15 ninding 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 题目 太简单了,直接上代码: 阅读全文
posted @ 2017-12-17 23:59 ninding 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 题目:https://leetcode.com/problems/two-sum/description/ stl map代码: 阅读全文
posted @ 2017-12-15 20:31 ninding 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 在servlet类中的get,post最前面加上 对接收到的汉字字符串转码 完整样例: 阅读全文
posted @ 2017-12-14 20:47 ninding 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 方案1:卸载鲁大师,重启。 方案2:管理员命令行,输入netsh winsock reset,重启。 方案3:360安全管家修复LSP,重启。 方案4:卸载14.0,安装12.0,手动导入虚拟机。 阅读全文
posted @ 2017-12-05 19:30 ninding 阅读(2693) 评论(2) 推荐(1) 编辑
摘要: 题目: 看起来很复杂,其实就是有多少个素因子就翻转多少次。 然后考虑到只有平方数有奇数个素因子。 一次过,上代码把: 阅读全文
posted @ 2017-11-27 22:50 ninding 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 题目: 考虑清楚就简单了,我们把每个数的因子计数。 两个数的公约数就是计数超过2的数,然后找到最大的那个就好了。 计算每个数的素因子,记得sqrt(),不然会超时。 打表计数法时间复杂度O(n*sqrt(n))。 代码: 阅读全文
posted @ 2017-11-27 22:28 ninding 阅读(235) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页