There was an error with the reCAPTCHA. Please solve the reCAPTCHA again. 解决办法 俗话说:哪里有碍事的墙,哪里就使劲推好了 https://blog.azurezeng.com/recaptcha use in china 1 ...
分类:
其他好文 时间:
2020-02-27 00:48:51
阅读次数:
96
class Solution { public: int Fibonacci(int n) { int f=0,g=1; while(n--) { f=f+g; int temp = g; g=f; f = temp; } return f; } }; 9这题用递归会溢出 ...
分类:
其他好文 时间:
2020-02-26 01:30:59
阅读次数:
51
一.一些基础知识 费马定理 :若 $f$ 在 $x_0$ 某邻域有定义,且在 $x_0$ 处可导,那么如果 $x_0$ 为 $f$ 极值点则 $f(x_0)=0$ 罗尔中值定理 :若 $f$ 在 $[a,b]$ 连续且在 $(a,b)$ 可导且 $f(a)=f(b)$,那么存在一个 $x\in (a ...
分类:
其他好文 时间:
2020-02-23 22:11:20
阅读次数:
85
1、 在上传项目的时候出现 git@xxx password: 让你输入密码,你发现无论输入什么都会出现Permission denied, please try again问题,其实这个主要是工程的SSH key没有加入到你的gitlab账户下。查看账户如下图所示,点击账户即可。 在上传项目的时候 ...
分类:
其他好文 时间:
2020-02-19 15:06:26
阅读次数:
92
PAT 甲级 Advanced 1086 Tree Traversals Again (25) [树的遍历] ...
分类:
其他好文 时间:
2020-02-18 20:53:36
阅读次数:
79
ss java.lang.NoClassDefFoundError: org/apache/spark/api/java/function/Function2 at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Cla ...
分类:
其他好文 时间:
2020-02-18 15:05:25
阅读次数:
78
"Fibonacci Sequence 维基百科" $F(n) = F(n 1)+F(n 2)$,其中 $F(0)=0, F(1)=1$,即该数列由 0 和 1 开始,之后的数字由相邻的前两项相加而得出。 递归 时间复杂度 $O(n)$,空间复杂度 $O(1)$ 矩阵 $F(n)$ 和 $F(n 1 ...
分类:
其他好文 时间:
2020-02-17 14:21:50
阅读次数:
73
经济学人原文阅读 2020/2/17 The Chinese coronavirus Time and again A new virus is spreading. Fortunately, the world is better prepared than ever to stop it As ...
分类:
其他好文 时间:
2020-02-17 12:14:12
阅读次数:
848
Colossal Fibonacci Numbers! 1. "链接" 2. 题意 输入两个非负整数a,b和正整数n(0 using namespace std; typedef unsigned long long ll; //此题会爆long long const int maxn = 1e6+ ...
分类:
其他好文 时间:
2020-02-16 14:30:00
阅读次数:
72
题意: 给定一个$k$维的$n^k$的超立方体,超立方体的元素$A(i1,i2,...,ik)$的值为$f(i1+i2+...+ik k+1)$,f为斐波那契数列 求该超立方体的所有元素和 $1 \le n,k \le 10^9$ 输入样例 3 2 2 4 1 1 3 输出样例 5 7 1 题解 自 ...
分类:
其他好文 时间:
2020-02-12 22:36:39
阅读次数:
85