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 ...
分类:
其他好文 时间:
2019-08-03 10:27:47
阅读次数:
102
$subtask3$ 当$t[son]<=t[ansetor]$时$son$的贡献才能被计算,即求最长上升子序列$o(nlogn)$ ...
分类:
其他好文 时间:
2019-07-29 10:24:03
阅读次数:
142
大意: 给定$N^3$立方体, 每个单位立方体权值为三个坐标异或, 每次沿坐标轴切一刀, 得分为两半内权值和的乘积, 求切成$n^3$块的最大得分. 可以发现得分与切法无关, 假设每个点权值为$a_i$, 就有$ans=\frac{(\sum a_i)^2-\sum a_i^2}{2}$. 从而转化 ...
分类:
其他好文 时间:
2019-07-26 02:00:38
阅读次数:
104
problem 840. Magic Squares In Grid 参考 1. Leetcode_easy_840. Magic Squares In Grid; 完 ...
分类:
其他好文 时间:
2019-07-19 19:04:00
阅读次数:
64
转自:https://www.cnblogs.com/dcb3688/p/4608063.html Magic Packet Magic Packet白皮书介绍: The basic technical details of Magic Packet Technologyare simple and ...
分类:
其他好文 时间:
2019-07-15 14:52:55
阅读次数:
180
习惯就是人生的最大指导 ——休谟 24. Swap Nodes in Pairs Medium 1209107FavoriteShare 24. Swap Nodes in Pairs Medium 1209107FavoriteShare Medium Given a linked list, s ...
分类:
其他好文 时间:
2019-07-07 09:40:17
阅读次数:
104
8-9 魔术师:创建一个包含魔术师名字的列表,并将其传递一个名为show_magicians()的函数,这个函数打印列表中每个魔术师的名字。 8-10 了不起的魔术师:在8-9的程序中,编写一个名为make_great()的函数,对函数列表进行修改,在每个魔术师的名字中都加入字样“the Great ...
分类:
编程语言 时间:
2019-07-03 00:53:25
阅读次数:
151
1. 读 elf 文件开始的文件头部 1. 读 elf 文件开始的文件头部 [arm@localhost gcc]$ armlinuxreadelf h hello ELF Header: Magic: 7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 ...
分类:
系统相关 时间:
2019-06-29 10:35:12
阅读次数:
117