"Link" 下面的函数都默认$f(1)=1$。 先给出一个引理:$f^p=\epsilon$。 利用引理可以很方便地证明$f^k=g\Leftrightarrow f=g^{\frac1k}$。 但是这个引理我不会证。 还有一个做法是倍增递推,可以上网找到。 ...
分类:
其他好文 时间:
2020-01-26 19:10:47
阅读次数:
93
"CF622F The Sum of the k th Powers" 题意:给$n$和$k$,让你求$\sum\limits_{i = 1} ^ n i^k \ mod \ 10^9 + 7$。$(1 \le n \le 10^9,0 \le k \le 10^6)$ 好,我们先不看题,来补一些数 ...
分类:
其他好文 时间:
2020-01-26 11:54:13
阅读次数:
82
js实现复选框的多选,全选,反选 <table> <thead> <tr> <th><input type="checkbox" name="chkAllResourceType" id="chkAllResourceType" onclick="selectAll()">全选</th> <th>测 ...
分类:
其他好文 时间:
2020-01-23 21:14:16
阅读次数:
84
pip install altair pip install altair_viewer Altair is a declarative statistical visualization library for Python, based on Vega and Vega-Lite, and th ...
分类:
其他好文 时间:
2020-01-23 18:30:38
阅读次数:
84
There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the pivot. Then th ...
分类:
其他好文 时间:
2020-01-23 13:55:58
阅读次数:
81
IfcUtilityResource(公用资源) IfcUtilityResource处理所有权和变更的一般概念。它还包括一个基本的信息结构:表。此模式的类在整个IFC对象模型中由其所有模型层引用。因此,IfcUtilityResource模式包含用于指定许多实用程序类型的信息内容的模型规范。 Th ...
分类:
其他好文 时间:
2020-01-23 09:39:03
阅读次数:
96
Wikipedia Processing For Chinese, https://dumps.wikimedia.org/zhwiki/latest/ zhwiki latest pages articles.xml.bz2 For English, https://dumps.wikimedia ...
分类:
其他好文 时间:
2020-01-22 14:28:42
阅读次数:
115
1. 你一定要看计算机领域的文章. 如果你是看一堆应用,你最终还是会不知道怎么做. 从计算机到energy是降维打击, 当你学习了计算机的hot skill,再去做应用很容易. 2. 搞研究的思路: 大量阅读文章,然后形成思路,然后justify每一步的合理性和可行性. 你需要critical th ...
分类:
其他好文 时间:
2020-01-21 21:33:17
阅读次数:
80
https://github.com/ageitgey/face_recognition/blob/master/README_Simplified_Chinese.md https://medium.com/@ageitgey/build-a-hardware-based-face-recogni ...
分类:
其他好文 时间:
2020-01-21 19:45:09
阅读次数:
216
super注意点: surper()是调用父类的构造方法,而且必须在构造方法的第一个 super必须只能出现在子类的方法或者构造方法中! super()和this()不能同时调用构造方法! Vs this: 代表的对象不同: this:本身调用者这个对象 super:代表父类对象的引用 前提: th ...
分类:
其他好文 时间:
2020-01-21 18:30:38
阅读次数:
100