2018年11月的全部文章
@kidultff

记一次微信爬虫获取公众号历史文章并导出PDF

技术栈:抓包技术、Python2.7、BeautifulSoup、Requests、PyMuPDF、一些HTTP协议基础。0x00、问题提出想要对某公众号的历史推送的图片进行归档,但是微信没有相关的功能,历史推送数据量还不小,因此决定做一个爬虫。做这个爬虫的思路是,首先得到 ...
  • 0
  • 11
@kidultff

PAT-A 真题 – 1024 Palindromic Number

A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers.Non-palindromic numbers ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1058 A+B in Hogwarts

If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver Sickles to a Galleon and twenty-nine Knuts to a Sickle, it's easy enou ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1097 Deduplication on a Linked List

Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each value K, only the first node of which the value or absolute value ...
  • 0
  • 0
@kidultff

定点数的原码、补码、反码、移码

1、有符号数与无符号数就是有没有符号呗~无符号数没有符号为,全部为数值位,有符号数有符号位。2、定点数的定义小数点不动,被定住了定点整数就是小数点在末尾,定点小数就是纯小数,小数点在符号为之后,有效数值最高为之前3、整数原码简单粗暴 ...
  • 0
  • 0