11 2024 档案
摘要:洛谷P1807 最长路 #include<bits/stdc++.h> #define int long long using namespace std; const int inf=-1e6;const int maxx=2550005; int n,m,head,tail,g[1505][15
阅读全文
摘要:明天考恩欧挨批,但是我今天才学高精度:) 随便敲敲 #include<bits/stdc++.h> #define int long long using namespace std; const int maxx=1e5+5; string a,b;int ans[maxx]; inline vo
阅读全文
摘要:这两天在练线段树,写了几个模板 P3372 【模板】线段树 1 #include<bits/stdc++.h> #define int long long using namespace std; const int maxx=1e5+5; int mod,a[maxx],n,q; struct n
阅读全文