摘要:
C++常用数据类型取值范围 unsigned int 0~4294967295 int -2147483648~2147483647 10e10数量级 unsigned long 0~4294967295 long -2147483648~2147483647 long long的最大值:92233 阅读全文
摘要:
二分图的最大匹配 代码 #include <bits/stdc++.h> using namespace std; const int N = 505, M = 100005; int h[N], e[M], ne[M], idx; int match[N]; bool st[N]; int n1, 阅读全文
摘要:
AcWing 789.数的范围 思路: 整数二分,用二分模板做,先找右侧区间的左端点,再找左侧区间的右端点 题解: #include<bits/stdc++.h> using namespace std; const int N=100010; int f[N]; int n,q,x; int ma 阅读全文