-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
392 lines (266 loc) · 12.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Positlive的Blog | 积极生活</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#3F51B5">
<meta name="keywords" content="">
<meta name="description" content="算法与数据结构">
<meta property="og:type" content="website">
<meta property="og:title" content="Positlive的Blog">
<meta property="og:url" content="http://hanchunyu.cn/index.html">
<meta property="og:site_name" content="Positlive的Blog">
<meta property="og:description" content="算法与数据结构">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Positlive的Blog">
<meta name="twitter:description" content="算法与数据结构">
<link rel="alternate" type="application/atom+xml" title="Positlive的Blog" href="/atom.xml">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
<script>window.lazyScripts=[]</script>
</head>
<body>
<div id="loading" class="active"></div>
<aside id="menu" >
<div class="inner flex-row-vertical">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
<i class="icon icon-lg icon-close"></i>
</a>
<div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
<div class="brand">
<a href="/" class="avatar waves-effect waves-circle waves-light">
<img src="/img/th.jpeg">
</a>
<hgroup class="introduce">
<h5 class="nickname">hcy</h5>
</hgroup>
</div>
</div>
<div class="scroll-wrap flex-col">
<ul class="nav">
<li class="waves-block waves-effect active">
<a href="/" >
<i class="icon icon-lg icon-home"></i>
主页
</a>
</li>
<li class="waves-block waves-effect">
<a href="/archives" >
<i class="icon icon-lg icon-archives"></i>
Archives
</a>
</li>
<li class="waves-block waves-effect">
<a href="/tags" >
<i class="icon icon-lg icon-tags"></i>
Tags
</a>
</li>
<li class="waves-block waves-effect">
<a href="/categories" >
<i class="icon icon-lg icon-th-list"></i>
Categories
</a>
</li>
<li class="waves-block waves-effect">
<a href="https://github.com/positliver" target="_blank" >
<i class="icon icon-lg icon-github"></i>
Github
</a>
</li>
<li class="waves-block waves-effect">
<a href="http://www.weibo.com/positlive" target="_blank" >
<i class="icon icon-lg icon-weibo"></i>
Weibo
</a>
</li>
<li class="waves-block waves-effect">
<a href="/custom" >
<i class="icon icon-lg icon-link"></i>
测试
</a>
</li>
</ul>
</div>
</div>
</aside>
<main id="main">
<header class="top-header" id="header">
<div class="flex-row">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
<i class="icon icon-lg icon-navicon"></i>
</a>
<div class="flex-col header-title ellipsis">Positlive的Blog</div>
<div class="search-wrap" id="search-wrap">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
<i class="icon icon-lg icon-chevron-left"></i>
</a>
<input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
<i class="icon icon-lg icon-search"></i>
</a>
</div>
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
<i class="icon icon-lg icon-share-alt"></i>
</a>
</div>
</header>
<header class="content-header index-header">
<div class="container fade-scale">
<h1 class="title">Positlive的Blog</h1>
<h5 class="subtitle">
积极生活
</h5>
</div>
</header>
<div class="container body-wrap">
<ul class="post-list">
<li class="post-list-item fade">
<article id="post-kmp"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2017-08-09 01:50:56" datetime="2017-08-08T17:50:56.000Z" itemprop="datePublished">2017-08-09</time>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2017/08/09/kmp/">kmp</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
KMP算法是一种改进的字符串匹配算法,由D.E.Knuth,J.H.Morris和V.R.Pratt同时发现,因此人们称它为克努特——莫里斯——普拉特操作(简称KMP算法)。KMP算法的关键是利用匹配失败后的信息,尽量减少模式串与主串的匹配次数以达到快速匹配的目的。具体实现就是实现一个next()函数,函数本身包含了模式串的局部匹配信息。时间复杂度O(m+n)。123456789101112...
<a href="/2017/08/09/kmp/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/字符串/">字符串</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/算法/">算法</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-hello-world"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2017-08-09 01:32:59" datetime="2017-08-08T17:32:59.000Z" itemprop="datePublished">2017-08-09</time>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2017/08/09/hello-world/">Hello World</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Qu...
<a href="/2017/08/09/hello-world/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
</article>
</li>
</ul>
</div>
<footer class="footer">
<div class="top">
<p>
<span id="busuanzi_container_site_uv" style='display:none'>
站点总访客数:<span id="busuanzi_value_site_uv"></span>
</span>
<span id="busuanzi_container_site_pv" style='display:none'>
站点总访问量:<span id="busuanzi_value_site_pv"></span>
</span>
</p>
<p>
<span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
<span>博客内容遵循 <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
</p>
</div>
<div class="bottom">
<p><span>hcy © 2017</span>
<span>
Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
</span>
</p>
</div>
</footer>
</main>
<div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>
<div class="global-share" id="globalShare">
<ul class="reset share-icons">
<li>
<a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://hanchunyu.cn/&title=Positlive的Blog&pic=http://hanchunyu.cn/img/th.jpeg" data-title="微博">
<i class="icon icon-weibo"></i>
</a>
</li>
<li>
<a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
<i class="icon icon-weixin"></i>
</a>
</li>
<li>
<a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://hanchunyu.cn/&title=Positlive的Blog&source=算法与数据结构" data-title=" QQ">
<i class="icon icon-qq"></i>
</a>
</li>
<li>
<a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://hanchunyu.cn/" data-title=" Facebook">
<i class="icon icon-facebook"></i>
</a>
</li>
<li>
<a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=Positlive的Blog&url=http://hanchunyu.cn/&via=http://hanchunyu.cn" data-title=" Twitter">
<i class="icon icon-twitter"></i>
</a>
</li>
<li>
<a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://hanchunyu.cn/" data-title=" Google+">
<i class="icon icon-google-plus"></i>
</a>
</li>
</ul>
</div>
<div class="page-modal wx-share" id="wxShare">
<a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
<p>扫一扫,分享到微信</p>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAAAAAAZai4+AAABaElEQVR42u3aQQ6DMAxEUe5/aSp1VYliZuywiP2zqig0j0UTx/ZxyOP8jrvPv1eu16/fLhuwYDVineHQ74nvdH8HFqyZLHdRuHtWYcVzwYIFK2bp09xt5LBgwVrFipcGd0GBBQuWGzQrIP24uyyWhwWrBaueSMotCq/nt2DB2oR1lkc9efTnKViwhrH0Y2pcStGTSsaxFhasMax4AgXhHmuljRwWrMEs5WH3Hv2Y+rBJw4LVmqVv2Eq6Ry/G6MEBLFhzWG5Qq2/PufYgWLCmsdw/cK6lwEXDgjWNpRdUchvzqrlgwerNKh0s9ZyxGZrDgjWNpTcWuCUWZZkwXgkWrNasZCuAmRJSyjAPWzUsWK1Za5vwcvdXQm1YsDqxcm12enida92DBWsma1XZMrf02H1JsGCNZ7lHWf0FSgsELFhjWHrZ0j3uGrUdWLBas3JBc67h4PVYHhasDVmVRFK99PJKfgsWrJ1YH234u5MDOK8rAAAAAElFTkSuQmCC" alt="微信分享二维码">
</div>
<script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: false };
</script>
<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>
<div class="search-panel" id="search-panel">
<ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
<a href="{path}" class="waves-block waves-effect">
<div class="title ellipsis" title="{title}">{title}</div>
<div class="flex-row flex-middle">
<div class="tags ellipsis">
{tags}
</div>
<time class="flex-col time">{date}</time>
</div>
</a>
</li>
</template>
<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>
<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script>
(function() {
var OriginTitile = document.title, titleTime;
document.addEventListener('visibilitychange', function() {
if (document.hidden) {
document.title = '快膜拜我吧!';
clearTimeout(titleTime);
} else {
document.title = '我是大神,哈哈!';
titleTime = setTimeout(function() {
document.title = OriginTitile;
},2000);
}
});
})();
</script>
</body>
</html>