-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
462 lines (377 loc) · 14.1 KB
/
index.html
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
455
456
457
458
459
460
461
462
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<title>Carrot の蜗居</title>
<meta name="author" content="CarrotsPie">
<meta name="description" content="A blog for recording my study and life.">
<meta name="keywords" content="">
<link rel="icon" href="https://img-blog.netlify.app/md_img/avatar.jpg">
<script src="https://cdn.staticfile.org/instant.page/5.1.0/instantpage.min.js" type="module"></script>
<script src="https://cdn.staticfile.org/font-awesome/6.2.0/js/all.min.js"></script>
<link rel="stylesheet" href="/css/fonts.min.css">
<link rel="stylesheet" href="/css/particlex.css">
<script src="https://cdn.staticfile.org/vue/3.2.33/vue.global.prod.min.js"></script>
<meta name="generator" content="Hexo 5.4.2"><style>mjx-container[jax="SVG"] {
direction: ltr;
}
mjx-container[jax="SVG"] > svg {
overflow: visible;
}
mjx-container[jax="SVG"][display="true"] {
display: block;
text-align: center;
margin: 1em 0;
}
mjx-container[jax="SVG"][justify="left"] {
text-align: left;
}
mjx-container[jax="SVG"][justify="right"] {
text-align: right;
}
g[data-mml-node="merror"] > g {
fill: red;
stroke: red;
}
g[data-mml-node="merror"] > rect[data-background] {
fill: yellow;
stroke: none;
}
g[data-mml-node="mtable"] > line[data-line] {
stroke-width: 70px;
fill: none;
}
g[data-mml-node="mtable"] > rect[data-frame] {
stroke-width: 70px;
fill: none;
}
g[data-mml-node="mtable"] > .mjx-dashed {
stroke-dasharray: 140;
}
g[data-mml-node="mtable"] > .mjx-dotted {
stroke-linecap: round;
stroke-dasharray: 0,140;
}
g[data-mml-node="mtable"] > svg {
overflow: visible;
}
[jax="SVG"] mjx-tool {
display: inline-block;
position: relative;
width: 0;
height: 0;
}
[jax="SVG"] mjx-tool > mjx-tip {
position: absolute;
top: 0;
left: 0;
}
mjx-tool > mjx-tip {
display: inline-block;
padding: .2em;
border: 1px solid #888;
font-size: 70%;
background-color: #F8F8F8;
color: black;
box-shadow: 2px 2px 5px #AAAAAA;
}
g[data-mml-node="maction"][data-toggle] {
cursor: pointer;
}
mjx-status {
display: block;
position: fixed;
left: 1em;
bottom: 1em;
min-width: 25%;
padding: .2em .4em;
border: 1px solid #888;
font-size: 90%;
background-color: #F8F8F8;
color: black;
}
foreignObject[data-mjx-xml] {
font-family: initial;
line-height: normal;
overflow: visible;
}
.MathJax path {
stroke-width: 3;
}
mjx-container[display="true"] {
overflow: auto hidden;
}
mjx-container[display="true"] + br {
display: none;
}
</style></head>
<body>
<div id="loading" style="height:100vh;width:100vw;position:fixed;display:flex;z-index:2147483647;justify-content:space-between;background:#fff;transition:opacity 0.3s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none"><div style="position:fixed;height:100vh;width:100vw;display:flex;justify-content:center;align-items:center"><div id="loadcontent" style="width:50vmin;height:50vmin;padding:50px;border-radius:50%;display:flex;justify-content:center;align-items:center;border:solid 10px #a3ddfb;text-align:center"><div><h2>LOADING...</h2><p style="word-break:keep-all">加载过慢请开启缓存(浏览器默认开启)</p><div><img alt="loading" src="/loading.gif"></div></div></div></div></div>
<div id="layout">
<i data-fa-symbol="calendar-solid" class="fa-solid fa-calendar fa-fw"></i>
<i data-fa-symbol="bookmark-solid" class="fa-solid fa-bookmark fa-fw"></i>
<i data-fa-symbol="tags-solid" class="fa-solid fa-tags fa-fw"></i>
<transition name="into">
<div v-show="showpage" style="display: -not-none">
<div id="menushow">
<nav id="menu">
<div class="desktop-menu">
<a href="/">
<span class="title">Carrot の蜗居</span>
</a>
<a href="/">
<i class="fa-solid fa-house fa-fw"></i>
<span> home</span>
</a>
<a href="/about">
<i class="fa-solid fa-id-card fa-fw"></i>
<span> about</span>
</a>
<a href="/archives">
<i class="fa-solid fa-box-archive fa-fw"></i>
<span> archives</span>
</a>
<a href="/categories">
<i class="fa-solid fa-bookmark fa-fw"></i>
<span> categories</span>
</a>
<a href="/tags">
<i class="fa-solid fa-tags fa-fw"></i>
<span> tags</span>
</a>
</div>
<div :class="'phone-menu ' + menushow" id="phone-menu">
<div class="curtain" @click="menushow = !menushow" v-show="menushow"></div>
<div :class="'title'" @click="menushow = !menushow">
<i class="fa-solid fa-bars fa-fw"></i>
<span> Carrot の蜗居</span>
</div>
<transition name="slide">
<div class="items" v-show="menushow">
<a href="/">
<div class="item">
<div style="min-width: 20px; max-width: 50px; width: 10%">
<i class="fa-solid fa-house fa-fw"></i>
</div>
<div style="min-width: 100px; max-width: 150%; width: 20%">home</div>
</div>
</a>
<a href="/about">
<div class="item">
<div style="min-width: 20px; max-width: 50px; width: 10%">
<i class="fa-solid fa-id-card fa-fw"></i>
</div>
<div style="min-width: 100px; max-width: 150%; width: 20%">about</div>
</div>
</a>
<a href="/archives">
<div class="item">
<div style="min-width: 20px; max-width: 50px; width: 10%">
<i class="fa-solid fa-box-archive fa-fw"></i>
</div>
<div style="min-width: 100px; max-width: 150%; width: 20%">archives</div>
</div>
</a>
<a href="/categories">
<div class="item">
<div style="min-width: 20px; max-width: 50px; width: 10%">
<i class="fa-solid fa-bookmark fa-fw"></i>
</div>
<div style="min-width: 100px; max-width: 150%; width: 20%">categories</div>
</div>
</a>
<a href="/tags">
<div class="item">
<div style="min-width: 20px; max-width: 50px; width: 10%">
<i class="fa-solid fa-tags fa-fw"></i>
</div>
<div style="min-width: 100px; max-width: 150%; width: 20%">tags</div>
</div>
</a>
</div>
</transition>
</div>
</nav>
</div>
<div id="main">
<div id="home-head">
<div id="home-background" style="background-image: url(https://img-blog.netlify.app/md_img/background.jpg)"></div>
<div id="home-info" class="home-info" @click="home_click">
<span class="loop"></span>
<span class="loop"></span>
<span class="loop"></span>
<span class="loop"></span>
<span class="info">
<div class="wrap">
<h1>Carrot の蜗居</h1>
<h3>时海拾沙</h3>
<h5>A blog for recording my study and life.</h5>
</div>
</span>
</div>
</div>
<div id="home-posts-wrap" class="">
<div id="home-posts">
<div id="posts">
<div class="post">
<a href="/2022/11/26/Hexo博客搭建指北/">
<h2 class="post-title">Hexo博客搭建指北</h2>
</a>
<div class="category-and-date">
<span class="category">
<a href="/categories/教程/">
<span class="icon">
<svg class="fa-icon"><use xlink:href="#bookmark-solid"></use></svg>
</span>
教程
</a>
</span>
<span class="date">
<span class="icon">
<svg class="fa-icon"><use xlink:href="#calendar-solid"></use></svg>
</span>
2022/11/26
</span>
</div>
<div class="excerpt">
<div class="content" v-pre>
<p>搭这个博客花了不少时间,就想写一篇教程。</p>
<h4 id="前言">前言</h4>
<p>Hexo 是一个快速、简洁且高效的博客框架。Hexo 使用
Markdown(或其他渲染引擎)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。</p>
<p>Markdown 语法的使用可以看 GitHub 官方文档:<a target="_blank" rel="noopener" href="https://docs.github.com/cn/get-started/writing-on-github">基本撰写和格式语法</a></p>
</div>
</div>
<div class="post-tags">
<span class="icon">
<svg class="fa-icon"><use xlink:href="#tags-solid"></use></svg>
</span>
<span class="tag">
<a href="/tags/Hexo/" style="color: #ffa2c4">
Hexo
</a>
</span>
<span class="tag">
<a href="/tags/Github/" style="color: #ffa2c4">
Github
</a>
</span>
</div>
<a href="/2022/11/26/Hexo博客搭建指北/" class="go-post">阅读全文</a>
</div>
<div class="post">
<a href="/2022/11/25/约瑟夫环问题/">
<h2 class="post-title">约瑟夫环问题</h2>
</a>
<div class="category-and-date">
<span class="category">
<a href="/categories/算法/">
<span class="icon">
<svg class="fa-icon"><use xlink:href="#bookmark-solid"></use></svg>
</span>
算法
</a>
</span>
<span class="date">
<span class="icon">
<svg class="fa-icon"><use xlink:href="#calendar-solid"></use></svg>
</span>
2022/11/25
</span>
</div>
<div class="excerpt">
<div class="content" v-pre>
<p>这是很久以前在博客园上写过的一篇了,现在,把它删删改改挪到这里当第一篇,就当做新的开始吧。</p>
<h3 id="题目">题目</h3>
<p>已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为1的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围只剩下最后一个人。一般而言,需要求解的是最后一个人的序号。</p>
</div>
</div>
<div class="post-tags">
<span class="icon">
<svg class="fa-icon"><use xlink:href="#tags-solid"></use></svg>
</span>
<span class="tag">
<a href="/tags/约瑟夫环/" style="color: #ffa2c4">
约瑟夫环
</a>
</span>
<span class="tag">
<a href="/tags/C-C/" style="color: #00a596">
C/C++
</a>
</span>
</div>
<a href="/2022/11/25/约瑟夫环问题/" class="go-post">阅读全文</a>
</div>
<div class="page-current">
<div class="prev">
</div>
<div class="page-index">
<span class="current">
1
</span>
</div>
<div class="next">
</div>
</div>
</div>
</div>
<div id="home-card">
<div id="card-div">
<div class="card-style" style="width: 300px">
<div class="avatar">
<img src="https://img-blog.netlify.app/md_img/avatar.jpg " alt="avatar">
</div>
<div class="name">
CarrotsPie
</div>
<div class="descriptions">
<div class="description">
<p>废物大学生一枚</p>
</div>
</div>
<div class="icon-links">
<span class="icon-link">
<a target="_blank" rel="noopener" href="https://github.com/CarrotsPie">
<i class="fa-brands fa-github fa-fw"></i>
</a>
</span>
</div>
<div class="friend-links">
</div>
</div>
</div>
</div>
</div>
<footer id="footer">
<div class="footer-wrap">
<div>
© 20xx - 2022 Carrot の蜗居
<span class="footer-icon">
<i class="fa-solid fa-font-awesome fa-fw"></i>
</span>
@CarrotsPie
</div>
<div></div>
<div>Based on the <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo Engine</a> & <a
target="_blank" rel="noopener" href="https://github.com/argvchs/hexo-theme-particlex">ParticleX Theme</a></div>
</div>
</footer>
</div>
</div>
</transition>
<div id="img_show">
<img id="img_content" alt="img_show">
</div>
</div>
<script src="https://cdn.staticfile.org/highlight.js/11.5.1/highlight.min.js"></script>
<script src="/js/particlex.js"></script>
<script src="/js/showimg.js"></script>
<script type="text/javascript" src="//cdn.bootcss.com/animejs/2.2.0/anime.min.js"></script>
<canvas id="fireworks" style="position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:32767"></canvas>
<script src="/js/fireworks.min.js"></script>
<canvas id="background" style="position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:-1"></canvas>
<script src="/js/background.min.js"></script>
</body>
</html>