随笔分类 -  随笔

摘要:洛谷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 阅读全文
posted @ 2024-11-29 13:54 Gcint 阅读(25) 评论(0) 推荐(0) 编辑
摘要:明天考恩欧挨批,但是我今天才学高精度:) 随便敲敲 #include<bits/stdc++.h> #define int long long using namespace std; const int maxx=1e5+5; string a,b;int ans[maxx]; inline vo 阅读全文
posted @ 2024-11-29 11:23 Gcint 阅读(3) 评论(0) 推荐(0) 编辑
摘要:这两天在练线段树,写了几个模板 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 阅读全文
posted @ 2024-11-23 15:22 Gcint 阅读(8) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示