一、 H264基础概念 SODB: 数据比特串-->最原始的编码数据 RBSP: 原始字节序列载荷-->在SODB的后面填加了结尾比特(RBSP trailing bits 一个bit“1”)若干比特“0”,以便字节对齐。 EBSP: 扩展字节序列载荷– >在RBSP基础上填加了仿校验字节(0X03 ...
分类:
其他好文 时间:
2021-07-12 18:13:50
阅读次数:
0
#include <bits/stdc++.h> using namespace std; using ll = long long ; ll euler(ll n){ ll k=n; for(ll i=2;i*i<=n;i++) if(n%i==0){ k-=k/i; while(n%i==0)n ...
分类:
其他好文 时间:
2021-06-28 20:14:20
阅读次数:
0
Luogu P3371 【模板】单源最短路径(弱化版) 练习一下那个死了的算法(最近好多东西要用到啊:分数规划、差分约束...) #include<bits/stdc++.h> using namespace std; #define N 1000005 int first[N], Next[N], ...
分类:
其他好文 时间:
2021-06-28 19:54:03
阅读次数:
0
Luogu P5960 【模板】差分约束算法 差分约束模板题。 #include<bits/stdc++.h> using namespace std; #define N 1000005 int first[N], Next[N], to[N], w[N], tot; int dis[N], vi ...
分类:
其他好文 时间:
2021-06-28 19:53:48
阅读次数:
0
Luogu P4926 [1007]倍杀测量者 取对数化除为减。 或者用乘积最短路。 注意图不一定连通。 #include<bits/stdc++.h> using namespace std; #define N 1000005 const double eps = 1e-12; struct g ...
分类:
其他好文 时间:
2021-06-28 19:51:46
阅读次数:
0
Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color ...
分类:
其他好文 时间:
2021-06-28 19:08:20
阅读次数:
0
发现自己的基础太不牢固了 #include<bits/stdc++.h> using namespace std; int cnt=0; int dfs(int x) { if(x>=100)return x; dfs(x+1); dfs(x+2); } int main() { cout<<dfs ...
分类:
其他好文 时间:
2021-06-28 19:03:09
阅读次数:
0
set内是一颗红黑树,好像我以后也是要学的 注意set是会自动排序的,但是你根本找不到每一个数的排名 因为,set没这个功能,开一个数组记录一下就好了 所以我们现在有这么几个函数 #include<bits/stdc++.h> using namespace std; #define re regi ...
分类:
其他好文 时间:
2021-06-28 18:30:07
阅读次数:
0
4次FFT 1.21s #include<bits/stdc++.h> using namespace std; #define forg(i,x) for(register int i=fir[x];i;i=nxt[i]) #define uu unsigned #define scanf a14 ...
分类:
其他好文 时间:
2021-06-28 17:47:57
阅读次数:
0
排序后扫一遍,维护当前分组方案,尽量加入人数少的组。如果某些组再也不可能加入了就统计最小值,如果每组都加入过了相同的实力值就新开一组。 因为组的信息具有单调性,所以可以用双端队列 \(O(n)\) 维护。 code: #include<bits/stdc++.h> using namespace s ...
分类:
其他好文 时间:
2021-06-20 18:04:28
阅读次数:
0