Given a pair of positive integers, for example, 6 and 1 […]
PAT (Advanced Level) Practice 1009 Product of Polynomials
This time, you are supposed to find A×B where A and B a […]
把闲置的安卓手机改造成Linux服务器
引言 现在智能手机的配置越来越高,更新换代速度非常快。我们可以把闲置的安卓机改造成电脑来用,充分利用硬件资源。 […]
Android Studio 虚拟机无法上网
引言 某一天安卓虚拟机突然不能上网了。 排查问题 电脑可以上网,但是虚拟机不能上网。 打开cmd,输入ping […]
Windows环境下配置Apache+PHP
下载Apache 官网:http://httpd.apache.org 推荐:直接点击这个链接下载32位的2. […]
PAT (Advanced Level) Practice 1008 Elevator
The highest building in our city has only one elevator. […]
关哥的汇编笔记(三)寻址方式和指令系统
引言 每个存储单元只有一个物理地址,但它可由不同的段基址和偏移地址组成。物理地址 = 段基址 * 16 + 偏 […]
关哥的汇编笔记(二)寄存器与堆栈
引言 寄存器存在于CPU内部,用来暂时存放参与运算的数据和运算结果。一个n位(bit)的寄存器可以存放n个二进 […]
PAT (Advanced Level) Practice 1007 Maximum Subsequence Sum
Given a sequence of K integers { N1, N2, …, NK}. […]
PAT (Advanced Level) Practice 1006 Sign In and Sign Out
At the beginning of every day, the first person who sig […]