10 2021 档案
二进制枚举二叉树子集
摘要:#include <iostream> #include <cstring> #include <vector> using namespace std; const int MAX = 6; struct Tree{ double L, R; //树的左边和右边的长度 Tree():L(0), R
数学杂项
摘要:1. 四平方和定理 任何一个自然数都能由四个平方和组成 2. a²-(a+1)²-(a+2)²+(a+3)²=4; (a−1)³+(a+1)³+(−a)³+(−a)³=6a; 3 a*b的后导0个数 =a的后导0个数+b的后导0个数 1. zuhe[i][j]=zuhe[i-1][j]+zuhe[i