会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lyrrr
定一个新的目标
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
下一页
2024年9月16日
Vim
摘要: mode normal(esc) insert(i) replace(r) visual(v) visual line (shift+v) visual block (ctrl+v) command-line( : ) key-rebiding
阅读全文
posted @ 2024-09-16 21:04 lyrrr
阅读(19)
评论(0)
推荐(0)
2024年9月14日
AtCoder Beginner Contest 371(C-D)
摘要: https://atcoder.jp/contests/abc371 C: 暴力。思路是把1-8的点映射到全排列上面,然后把有的点去掉没的点加上取ans最小值。 这题复杂度是\(8!\times7\times4\),暴力求全排列即可(第一次写暴力全排列思索了一会复杂度 #include <bits/
阅读全文
posted @ 2024-09-14 22:28 lyrrr
阅读(91)
评论(0)
推荐(1)
2024年9月11日
Cf Round 953 (Div. 2) (A-D)
摘要: https://codeforces.com/contest/1978 C: D: #include <bits/stdc++.h> using namespace std; #define pii pair<int,int> #define mkp make_pair #define lowbit
阅读全文
posted @ 2024-09-11 23:52 lyrrr
阅读(45)
评论(0)
推荐(1)
Cf R 951 (Div. 2) (A-C)
摘要: https://codeforces.com/contest/1979 补了再发,最近写的题太多了搞不过来
阅读全文
posted @ 2024-09-11 23:49 lyrrr
阅读(11)
评论(0)
推荐(0)
2024ccpc网络赛
摘要: https://codeforces.com/gym/105336 L: 签到,队友写的 K: 签到,发现每次就是取二 B: 瞎猜过了,结论题 #include <bits/stdc++.h> using namespace std; #define pii pair<int,int> #defin
阅读全文
posted @ 2024-09-11 23:47 lyrrr
阅读(144)
评论(0)
推荐(1)
lyrrr食用指南
摘要: 别偷吃我的骨灰
阅读全文
posted @ 2024-09-11 18:45 lyrrr
阅读(61)
评论(0)
推荐(1)
Codeforces Round 933 (Div. 3) (C-G)
摘要: 这场比赛由于急躁心态不稳导致abc三题接连wa,这时候心态几乎爆炸。而d题思路其实很清晰,但是因为set使用不熟练卡住。最后没用set十分钟就写完过了。这时候只剩下十多分钟来不及写别的了。结束 收获主要就是:还是要注意边界的细节( ab题就不放了。。 C - Rudolf and the Ugly
阅读全文
posted @ 2024-09-11 18:40 lyrrr
阅读(60)
评论(0)
推荐(1)
线段树的几种做法总结
摘要: 线段树一些不太板的练手? hdu单峰数列 权值线段树 hdu第7场1007https://acm.hdu.edu.cn/showproblem.php?pid=7511 #include <iostream> #include <algorithm> #include <cstring> #incl
阅读全文
posted @ 2024-09-11 18:38 lyrrr
阅读(20)
评论(0)
推荐(0)
dijkstra and spfa
摘要: spfa struct Node{ int w,to,nxt; }edg[maxn]; int head[maxn],tot; void add_edge(int u,int w,int v){ edg[++tot].nxt=head[u];edg[tot].to=v; edg[tot].w=w;h
阅读全文
posted @ 2024-09-11 18:28 lyrrr
阅读(10)
评论(0)
推荐(1)
扫描线
摘要: #include<bits/stdc++.h> using namespace std; #define pii pair<int,int> #define mkp make_pair #define pb push_back #define mid ((l+r)>>1) #define ls(x)
阅读全文
posted @ 2024-09-11 18:28 lyrrr
阅读(14)
评论(0)
推荐(1)
上一页
1
···
6
7
8
9
10
11
12
下一页
公告