上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: 字符串哈希 #include <bits/stdc++.h> using namespace std; const int N = 1e5 + 10, P = 131; typedef unsigned long long ull; int n, m; ull p[N], h[N]; char st 阅读全文
posted @ 2025-11-12 15:40 XYu1230 阅读(3) 评论(0) 推荐(0)
摘要: 匈牙利算法(二分图的最大匹配) #include<bits/stdc++.h> using namespace std; const int N = 510, M = 100010; int h[N], e[M], ne[M], idx; int n1 , n2 ,m; int match[N]; 阅读全文
posted @ 2025-11-12 15:39 XYu1230 阅读(7) 评论(0) 推荐(0)
摘要: 约数个数 #include<bits/stdc++.h> using namespace std; const int N = 110, mod = 1e9 + 7; unordered_map<int ,int > mp; int main(){ int n; cin >> n; while(n 阅读全文
posted @ 2025-11-12 15:39 XYu1230 阅读(8) 评论(0) 推荐(0)
摘要: 最长公共子序列 #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 10; int id[N],b[N]; int n; int g[N]; int main(){ cin >> n; int x; for(int i 阅读全文
posted @ 2025-11-05 21:15 XYu1230 阅读(11) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; #define N 200005 int fa[N]; int sz[N]; int find(int x){ return fa[x] == x ? x : find(fa[x]); } int main() 阅读全文
posted @ 2025-11-05 21:15 XYu1230 阅读(6) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; #define PII pair<int,int> const int N = 510; const int INF = 1e9; int n,m,s,d; int num[N],dis[N],last[N], 阅读全文
posted @ 2025-11-05 21:15 XYu1230 阅读(4) 评论(0) 推荐(0)
摘要: /** * https://www.luogu.com.cn/problem/P1226 */ #include<bits/stdc++.h> using namespace std; #define ll long long int a,b,p; ll ans; ll quickPower(ll 阅读全文
posted @ 2025-11-05 21:14 XYu1230 阅读(7) 评论(0) 推荐(0)
摘要: C++ 阅读全文
posted @ 2025-11-05 21:13 XYu1230 阅读(7) 评论(0) 推荐(0)
摘要: CPU 是硬件系统的核心,主要由运算器、控制器、寄存器组和内部总线等部件组成,用于数据的加工处理,能完成各种算术、逻辑运算及控制功能。 浮点数的二进制表示: 176.0625 整数部分 176 = 10110000 小数部分 乘2取整法 0.0625 = 0001 所以176.0625的二进制表示为 阅读全文
posted @ 2025-10-30 15:58 XYu1230 阅读(9) 评论(0) 推荐(0)
摘要: 扩展概念-ETL 阅读全文
posted @ 2025-10-24 17:54 XYu1230 阅读(5) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页