-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
454 lines (279 loc) · 19.1 KB
/
Copy pathatom.xml
File metadata and controls
454 lines (279 loc) · 19.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>蒟蒻のBlog</title>
<link href="https://uint8.moe.page/atom.xml" rel="self"/>
<link href="https://uint8.moe.page/"/>
<updated>2026-05-10T03:25:34.571Z</updated>
<id>https://uint8.moe.page/</id>
<author>
<name>unsigned char</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>inline 对于函数内联优化有效吗?</title>
<link href="https://uint8.moe.page/2026/01/18/Is-inline-effective/"/>
<id>https://uint8.moe.page/2026/01/18/Is-inline-effective/</id>
<published>2026-01-18T03:14:42.000Z</published>
<updated>2026-05-10T03:25:34.571Z</updated>
<summary type="html"><blockquote>
<p>现代 C++ 中 <code>inline</code> 对于指示函数内联优化,有效吗?</p>
</blockquote>
<p><strong>It depends!</strong></p>
<p>简短地说,这取决于编译器。</p>
<p>对于 GCC,一定程度上是有效的;而对于 Clang,基本上是无效的。</p></summary>
<category term="技术" scheme="https://uint8.moe.page/tags/%E6%8A%80%E6%9C%AF/"/>
<category term="C++" scheme="https://uint8.moe.page/tags/C/"/>
</entry>
<entry>
<title>KDE 配置记录</title>
<link href="https://uint8.moe.page/2025/06/09/KDE-beautify/"/>
<id>https://uint8.moe.page/2025/06/09/KDE-beautify/</id>
<published>2025-06-09T11:49:00.088Z</published>
<updated>2026-03-02T13:49:56.837Z</updated>
<summary type="html"><p>众所周知,Gnome 40 之后的版本可个性化程度很差,尤其是 Gnome 48 更新了 UI,虽然配色方案好看了很多,但是用力过度的圆角让人感觉很不爽 <del>强迫症犯了(bs</del></p>
<p>在这时我心生了切换到 KDE 的念头,但是由于硬盘中 280G+ 的 <em>不明文件</em> 实际上并不可行,所以最后也只是在虚拟机里体验了一把</p>
<p><img src="/2025/06/09/KDE-beautify/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE_20250716_211027.png" alt="screen_shot_1"></p></summary>
<category term="技术" scheme="https://uint8.moe.page/tags/%E6%8A%80%E6%9C%AF/"/>
<category term="Linux" scheme="https://uint8.moe.page/tags/Linux/"/>
<category term="颓废" scheme="https://uint8.moe.page/tags/%E9%A2%93%E5%BA%9F/"/>
<category term="KDE" scheme="https://uint8.moe.page/tags/KDE/"/>
</entry>
<entry>
<title>记一次讨论</title>
<link href="https://uint8.moe.page/2025/03/22/Collision-dectection/"/>
<id>https://uint8.moe.page/2025/03/22/Collision-dectection/</id>
<published>2025-03-22T06:44:39.000Z</published>
<updated>2025-03-22T07:14:51.850Z</updated>
<summary type="html"><blockquote>
<p>某物理老师在公开课上使用 AI 生成的 HTML 动画演示分子热运动。我对其碰撞检测的算法产生了兴趣。研究代码后发现,除去各种 bug,它甚至在使用单次 $O(n^2)$ 的暴力算法检测碰撞……</p>
<p>……就这点破事值得写一篇文章吗 QAQ……</p>
<p>……我现在连这种简单问题也解决不了吗 QwQ……</p>
</blockquote></summary>
<category term="技术" scheme="https://uint8.moe.page/tags/%E6%8A%80%E6%9C%AF/"/>
<category term="生活" scheme="https://uint8.moe.page/tags/%E7%94%9F%E6%B4%BB/"/>
</entry>
<entry>
<title>Forget & Memory —— OI 退役感言</title>
<link href="https://uint8.moe.page/2024/11/23/Away-from-OI/"/>
<id>https://uint8.moe.page/2024/11/23/Away-from-OI/</id>
<published>2024-11-23T10:52:22.000Z</published>
<updated>2024-12-14T15:23:39.552Z</updated>
<summary type="html"><blockquote>
<p>以个人的水平,远远不足以参加省选,NOIP 之后,不论结果如何,都是要退役了。近日忙于男八的准备工作,也看到了 Anoshag_Ruwan, Coder_User 等一众退役 OIer,想到自己一周之后也会和他们一样,莫名地感到有点伤感。</p>
<p>回想起这 4 年来夹杂着颓废和摆烂的 OI 生涯,还是有许多事情是值得回忆的;退役之后,我当如何面对 whk,如何面对繁杂的人际关系?面对着未知的未来,多少有点迷茫……</p>
<p>4 年的 OI 生涯,是时候告一段落了,该做一下总结了……</p>
<p>——写于 2024 年 11 月 23 日傍晚,NOIP 2024 前一周</p>
</blockquote></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="杂感" scheme="https://uint8.moe.page/tags/%E6%9D%82%E6%84%9F/"/>
</entry>
<entry>
<title>NOIP 2024 爆零记</title>
<link href="https://uint8.moe.page/2024/11/23/NOIP-2024-summary/"/>
<id>https://uint8.moe.page/2024/11/23/NOIP-2024-summary/</id>
<published>2024-11-23T10:50:25.000Z</published>
<updated>2024-12-07T11:03:13.875Z</updated>
<summary type="html"><blockquote>
<p>本篇是 NOIP 2024 的游记,之后就要退役了 QwQ,所以这大概是我的最后一篇 OI 赛事的游记了</p>
</blockquote>
<p>期望得分 $[40, 60] + [20, 40] + 0 + 0 &#x3D; [60, 100] pts$ 全是无脑特殊性质 <del>和<strong>爆零</strong>有什么区别</del></p>
<p>实际得分 $60 + 35 &#x3D; 95 pts$,预料之内</p>
<p>被 T1 和 T2 创死,拿下 OI 生涯中最差成绩,省四遗憾离场</p>
<p>OI 生涯就这样不圆满地结束了 QwQ</p></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="游记" scheme="https://uint8.moe.page/tags/%E6%B8%B8%E8%AE%B0/"/>
<category term="CSP/NOIP" scheme="https://uint8.moe.page/tags/CSP-NOIP/"/>
</entry>
<entry>
<title>NOI Linux 使用技巧</title>
<link href="https://uint8.moe.page/2024/11/12/NOI-Linux-note/"/>
<id>https://uint8.moe.page/2024/11/12/NOI-Linux-note/</id>
<published>2024-11-12T10:12:00.000Z</published>
<updated>2024-11-22T14:59:00.062Z</updated>
<summary type="html"><blockquote>
<p>前情提要:由于我是机房中为数不多的几个用过 NOI Linux 的人,zhub 让我写了本文以向大家分享 NOI Linux 使用技巧。</p>
<p><del>疑似是有点太详细了,我写的大部分东西 zhub 都讲了</del></p>
</blockquote>
<blockquote>
<p>首先声明一下,我不是 Linux 专家,对一些东西了解不多,只是分享一些 <strong>实用主义</strong> 的技巧,请大佬轻喷</p>
</blockquote>
<p><strong>强烈建议场上把在 Windows 中写的程序在 NOI Linux 编译一遍,防止挂分</strong></p></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="技术" scheme="https://uint8.moe.page/tags/%E6%8A%80%E6%9C%AF/"/>
<category term="Linux" scheme="https://uint8.moe.page/tags/Linux/"/>
</entry>
<entry>
<title>CSP-S 2024 游记</title>
<link href="https://uint8.moe.page/2024/10/27/CSP-S-2024-summary/"/>
<id>https://uint8.moe.page/2024/10/27/CSP-S-2024-summary/</id>
<published>2024-10-27T14:27:50.000Z</published>
<updated>2024-12-07T11:05:45.987Z</updated>
<summary type="html"><blockquote>
<p>CSP-S 2024 游记</p>
</blockquote>
<p>期望得分 $100 + 100 + 50 + 0 &#x3D; 250pts$</p>
<p><del>等待 CCF 下发代码中…</del> 今年 CCF 似乎没公开码,但是好消息是没挂分</p>
<p>2024&#x2F;12&#x2F;4 Upd: 拿到了 7 级蓝钩,没想到这竟是我 OI 生涯中的高光时刻</p></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="游记" scheme="https://uint8.moe.page/tags/%E6%B8%B8%E8%AE%B0/"/>
<category term="CSP/NOIP" scheme="https://uint8.moe.page/tags/CSP-NOIP/"/>
</entry>
<entry>
<title>CCPC 2024 JN 打铁记</title>
<link href="https://uint8.moe.page/2024/10/27/CCPC-2024-JN/"/>
<id>https://uint8.moe.page/2024/10/27/CCPC-2024-JN/</id>
<published>2024-10-27T06:23:18.000Z</published>
<updated>2024-10-27T11:08:50.534Z</updated>
<summary type="html"><blockquote>
<p>和 k_Sword 和 NAPeach 组队(QEFW_#kzn a.k.a. 企鹅访问坤)参加了 CCPC 2024 济南站,2AC 273 罚时,取得了 rk 313 &#x2F; 323 的好成绩,成功打铁</p>
<p>菜是原罪 QwQ</p>
</blockquote></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="XCPC" scheme="https://uint8.moe.page/tags/XCPC/"/>
<category term="游记" scheme="https://uint8.moe.page/tags/%E6%B8%B8%E8%AE%B0/"/>
</entry>
<entry>
<title>插入类 DP 学习笔记</title>
<link href="https://uint8.moe.page/2024/09/05/insert-dp/"/>
<id>https://uint8.moe.page/2024/09/05/insert-dp/</id>
<published>2024-09-05T13:05:00.000Z</published>
<updated>2024-11-23T02:48:42.267Z</updated>
<summary type="html"><h3 id="特征"><a href="#特征" class="headerlink" title="特征"></a>特征</h3><ul>
<li>构造某个<strong>排列</strong>或求排列方案数</li>
<li>答案与函数图像的转折点有关</li>
<li>答案可以由块的合并得出,且上述对答案的影响可以在合并时计算</li>
</ul>
<h3 id="核心思想"><a href="#核心思想" class="headerlink" title="核心思想"></a>核心思想</h3><p>维护互不相关的块,在以一某种顺序加入新元素时进行对块的新增、合并、扩张,最终将所有块合并为一个,得到答案</p>
<p>用 $dp_{i, j}$ 表示已经加入 $i$ 个元素,划分为 $j$ 个块的情况</p>
<ul>
<li>新增: $dp_{i, j} \gets dp_{i - 1, j - 1}$</li>
<li>合并: $dp_{i, j} \gets dp_{i - 1, j + 1}$</li>
<li>扩张: $dp_{i, j} \gets dp_{i - 1, j}$</li>
</ul></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="笔记" scheme="https://uint8.moe.page/tags/%E7%AC%94%E8%AE%B0/"/>
</entry>
<entry>
<title>暴力碾标算,$n^2$ 过十万 —— bitset 的妙用</title>
<link href="https://uint8.moe.page/2024/07/31/The-useage-of-bitset/"/>
<id>https://uint8.moe.page/2024/07/31/The-useage-of-bitset/</id>
<published>2024-07-31T06:25:28.000Z</published>
<updated>2024-11-30T12:47:23.987Z</updated>
<summary type="html"><blockquote>
<p>在 $SDSC$ 从传奇 OIer $QLR$ 处学到的 <code>std::bitset</code> 的神奇用法,可以让你的暴力跑得飞快</p>
<p>TODO</p>
</blockquote></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="笔记" scheme="https://uint8.moe.page/tags/%E7%AC%94%E8%AE%B0/"/>
</entry>
<entry>
<title>Fedora 折腾记</title>
<link href="https://uint8.moe.page/2024/07/18/Fedora-tweaks/"/>
<id>https://uint8.moe.page/2024/07/18/Fedora-tweaks/</id>
<published>2024-07-18T14:05:47.000Z</published>
<updated>2025-09-21T03:40:39.797Z</updated>
<summary type="html"><blockquote>
<p>Fedora + Gnome 坑很多,这里是我在使用 Fedora 中遇到的一些坑和解决的方案</p>
<p>这其中的很多 bug 都具有一定的随机性(很多是我在 Google 上使用英文寻找了半天才找到同样的问题,有的甚至需要亲自向开发者反映)。<br>所以这仍然仅仅是个人记录,其中的解决方案仅供日后备查,不保证可用,请读者(如果有的话)谨慎辨析</p>
</blockquote></summary>
<category term="技术" scheme="https://uint8.moe.page/tags/%E6%8A%80%E6%9C%AF/"/>
<category term="Linux" scheme="https://uint8.moe.page/tags/Linux/"/>
<category term="Fedora" scheme="https://uint8.moe.page/tags/Fedora/"/>
<category term="颓废" scheme="https://uint8.moe.page/tags/%E9%A2%93%E5%BA%9F/"/>
</entry>
<entry>
<title>Fedora Linux 中的实用软件</title>
<link href="https://uint8.moe.page/2024/07/18/Fedora-useful-software/"/>
<id>https://uint8.moe.page/2024/07/18/Fedora-useful-software/</id>
<published>2024-07-18T13:05:44.000Z</published>
<updated>2025-09-21T04:05:19.675Z</updated>
<summary type="html"><blockquote>
<p>最近将电脑系统换成了 Fedora Linux,由于版权和其他的一些原因,Fedora 官方仓库似乎缺乏不少软件,某些软件安装似乎不是很容易。在此记录一下我在 Fedora 中常用的软件</p>
<p>仅作个人备份,以供日后查询,不能保证其中内容的可用性</p>
</blockquote></summary>
<category term="技术" scheme="https://uint8.moe.page/tags/%E6%8A%80%E6%9C%AF/"/>
<category term="Linux" scheme="https://uint8.moe.page/tags/Linux/"/>
<category term="Fedora" scheme="https://uint8.moe.page/tags/Fedora/"/>
<category term="颓废" scheme="https://uint8.moe.page/tags/%E9%A2%93%E5%BA%9F/"/>
</entry>
<entry>
<title>WSL 折腾记</title>
<link href="https://uint8.moe.page/2024/05/25/WSL-configure/"/>
<id>https://uint8.moe.page/2024/05/25/WSL-configure/</id>
<published>2024-05-25T15:12:39.000Z</published>
<updated>2024-11-30T12:47:44.312Z</updated>
<summary type="html"><blockquote>
<p>折腾 WSL(<del>颓废</del>)的一点记录,其中前面的一部分是很久以前写的,从 OneNote 中提取出来的。当时一时兴起,折腾的是 ArchLinux,但是后来很快就发现 ArchLinux 的坑太多,也没有官方支持,而且滚动更新不太适合和 WSL 搭配使用(我可不想每次打开电脑第一件事就是 <code>pacman -Syu</code>,还要时不时处理滚挂的情况)</p>
<p>目前在用 Debian,比 ArchLinux 稳定多了,但是仍然没有官方支持(好像是?)</p>
<p>最近又开始捣鼓 GUI,又遇到了很多坑,填了一些,但是还要一些实在是搞不定。目前打算弃坑 Debian,换回又官方支持的 Ubuntu</p>
</blockquote></summary>
<category term="技术" scheme="https://uint8.moe.page/tags/%E6%8A%80%E6%9C%AF/"/>
<category term="Linux" scheme="https://uint8.moe.page/tags/Linux/"/>
<category term="颓废" scheme="https://uint8.moe.page/tags/%E9%A2%93%E5%BA%9F/"/>
</entry>
<entry>
<title>关于《末日时在做什么?有没有空?可以来拯救吗?》的一点杂感</title>
<link href="https://uint8.moe.page/2024/04/30/Thoughts-of-Sukasuak/"/>
<id>https://uint8.moe.page/2024/04/30/Thoughts-of-Sukasuak/</id>
<published>2024-04-30T08:25:11.000Z</published>
<updated>2024-11-23T11:27:17.159Z</updated>
<summary type="html"><p><img src="/2024/04/30/Thoughts-of-Sukasuak/anime-shot-02.png"></p>
<blockquote>
<p>关于《末日时在做什么?有没有空?可以来拯救吗?》的一些<em>奇怪</em>的感想</p>
<p><del>理解为珂学论文也是可以的</del></p>
<p>内容比较中二,权且当作一个人发癫时的记录罢</p>
</blockquote></summary>
<category term="杂感" scheme="https://uint8.moe.page/tags/%E6%9D%82%E6%84%9F/"/>
<category term="生活" scheme="https://uint8.moe.page/tags/%E7%94%9F%E6%B4%BB/"/>
<category term="颓废" scheme="https://uint8.moe.page/tags/%E9%A2%93%E5%BA%9F/"/>
<category term="珂学" scheme="https://uint8.moe.page/tags/%E7%8F%82%E5%AD%A6/"/>
</entry>
<entry>
<title>计算几何学习笔记 II</title>
<link href="https://uint8.moe.page/2024/04/20/Geometry-Note-2/"/>
<id>https://uint8.moe.page/2024/04/20/Geometry-Note-2/</id>
<published>2024-04-20T12:14:38.000Z</published>
<updated>2024-04-26T12:09:58.367Z</updated>
<summary type="html"><blockquote>
<p>计算几何学习笔记第二弹,主要包括算法部分</p>
<p>目前包含二维凸包(Todo)、旋转卡壳(Todo)、半平面交……</p>
<p>尚未完成 QwQ</p>
</blockquote></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="计算几何" scheme="https://uint8.moe.page/tags/%E8%AE%A1%E7%AE%97%E5%87%A0%E4%BD%95/"/>
<category term="笔记" scheme="https://uint8.moe.page/tags/%E7%AC%94%E8%AE%B0/"/>
</entry>
<entry>
<title>Hexo 博客折腾记</title>
<link href="https://uint8.moe.page/2024/04/14/Blog-build/"/>
<id>https://uint8.moe.page/2024/04/14/Blog-build/</id>
<published>2024-04-14T02:56:46.000Z</published>
<updated>2025-10-04T05:42:27.126Z</updated>
<summary type="html"><blockquote>
<p>这个博客的搭建过程</p>
<p>基于 GithubPages + Hexo + NexT theme</p>
<p>包括博客的搭建过程和 NexT 主题的配置与美化,特别的,包含支持<strong>暗色模式</strong>的可爱<strong>背景图片</strong>设置</p>
</blockquote></summary>
<category term="Hexo" scheme="https://uint8.moe.page/tags/Hexo/"/>
<category term="Blog" scheme="https://uint8.moe.page/tags/Blog/"/>
</entry>
<entry>
<title>计算几何学习笔记</title>
<link href="https://uint8.moe.page/2024/04/05/Geometry-Note/"/>
<id>https://uint8.moe.page/2024/04/05/Geometry-Note/</id>
<published>2024-04-05T09:25:48.000Z</published>
<updated>2024-04-26T12:09:25.446Z</updated>
<summary type="html"><blockquote>
<p>计算几何基础部分的学习笔记,包括</p>
<ul>
<li>点、向量、直线、多边形和圆的表示</li>
<li>点、直线和多边形与圆之间的关系</li>
<li>相关计算</li>
</ul>
<p>只是个人笔记捏~ 不是教程QwQ</p>
</blockquote></summary>
<category term="OI" scheme="https://uint8.moe.page/tags/OI/"/>
<category term="计算几何" scheme="https://uint8.moe.page/tags/%E8%AE%A1%E7%AE%97%E5%87%A0%E4%BD%95/"/>
<category term="笔记" scheme="https://uint8.moe.page/tags/%E7%AC%94%E8%AE%B0/"/>
</entry>
</feed>