index.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
  6. <meta name="theme-color" content="#222">
  7. <meta name="generator" content="Hexo 4.2.0">
  8. <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  9. <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  10. <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  11. <link rel="mask-icon" href="/images/logo.svg" color="#222">
  12. <link rel="stylesheet" href="/css/main.css">
  13. <link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">
  14. <link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
  15. <script src="/lib/pace/pace.min.js"></script>
  16. <script id="hexo-configurations">
  17. var NexT = window.NexT || {};
  18. var CONFIG = {"hostname":"schtonn.github.io","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"flat"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":true,"pangu":false,"comments":{"style":"tabs","active":"valine","storage":true,"lazyload":false,"nav":null,"activeClass":"valine"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  19. </script>
  20. <meta name="description" content="The blog of a middle school OIer">
  21. <meta property="og:type" content="website">
  22. <meta property="og:title" content="Alex&#39;s Blog">
  23. <meta property="og:url" content="https://schtonn.github.io/archives/2020/index.html">
  24. <meta property="og:site_name" content="Alex&#39;s Blog">
  25. <meta property="og:description" content="The blog of a middle school OIer">
  26. <meta property="og:locale" content="en_US">
  27. <meta property="article:author" content="Alex">
  28. <meta name="twitter:card" content="summary">
  29. <link rel="canonical" href="https://schtonn.github.io/archives/2020/">
  30. <script id="page-configurations">
  31. // https://hexo.io/docs/variables.html
  32. CONFIG.page = {
  33. sidebar: "",
  34. isHome : false,
  35. isPost : false,
  36. lang : 'en'
  37. };
  38. </script>
  39. <title>Archive | Alex's Blog</title>
  40. <noscript>
  41. <style>
  42. .use-motion .brand,
  43. .use-motion .menu-item,
  44. .sidebar-inner,
  45. .use-motion .post-block,
  46. .use-motion .pagination,
  47. .use-motion .comments,
  48. .use-motion .post-header,
  49. .use-motion .post-body,
  50. .use-motion .collection-header { opacity: initial; }
  51. .use-motion .site-title,
  52. .use-motion .site-subtitle {
  53. opacity: initial;
  54. top: initial;
  55. }
  56. .use-motion .logo-line-before i { left: initial; }
  57. .use-motion .logo-line-after i { right: initial; }
  58. </style>
  59. </noscript>
  60. </head>
  61. <body itemscope itemtype="http://schema.org/WebPage">
  62. <div class="container use-motion">
  63. <div class="headband"></div>
  64. <header class="header" itemscope itemtype="http://schema.org/WPHeader">
  65. <div class="header-inner"><div class="site-brand-container">
  66. <div class="site-nav-toggle">
  67. <div class="toggle" aria-label="Toggle navigation bar">
  68. <span class="toggle-line toggle-line-first"></span>
  69. <span class="toggle-line toggle-line-middle"></span>
  70. <span class="toggle-line toggle-line-last"></span>
  71. </div>
  72. </div>
  73. <div class="site-meta">
  74. <a href="/" class="brand" rel="start">
  75. <span class="logo-line-before"><i></i></span>
  76. <h1 class="site-title">Alex's Blog</h1>
  77. <span class="logo-line-after"><i></i></span>
  78. </a>
  79. <p class="site-subtitle" itemprop="description">Middle school OIer</p>
  80. </div>
  81. <div class="site-nav-right">
  82. <div class="toggle popup-trigger">
  83. </div>
  84. </div>
  85. </div>
  86. <nav class="site-nav">
  87. <ul id="menu" class="menu">
  88. <li class="menu-item menu-item-home">
  89. <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>Home</a>
  90. </li>
  91. <li class="menu-item menu-item-tags">
  92. <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>Tags</a>
  93. </li>
  94. <li class="menu-item menu-item-archives">
  95. <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>Archives</a>
  96. </li>
  97. <li class="menu-item menu-item-games">
  98. <a href="/games/" rel="section"><i class="fa fa-fw fa-gamepad"></i>Games</a>
  99. </li>
  100. <li class="menu-item menu-item-sans">
  101. <a href="/sans/" rel="section"><i class="fa fa-fw fa-heart"></i>sans</a>
  102. </li>
  103. </ul>
  104. </nav>
  105. </div>
  106. </header>
  107. <div class="back-to-top">
  108. <i class="fa fa-arrow-up"></i>
  109. <span>0%</span>
  110. </div>
  111. <div class="reading-progress-bar"></div>
  112. <main class="main">
  113. <div class="main-inner">
  114. <div class="content-wrap">
  115. <div class="content archive">
  116. <div class="post-block">
  117. <div class="posts-collapse">
  118. <div class="collection-title">
  119. <span class="collection-header">Um..! 10 posts in total. Keep on posting.</span>
  120. </div>
  121. <div class="collection-year">
  122. <span class="collection-header">2020</span>
  123. </div>
  124. <article itemscope itemtype="http://schema.org/Article">
  125. <header class="post-header">
  126. <div class="post-meta">
  127. <time itemprop="dateCreated"
  128. datetime="2020-03-21T19:20:08+08:00"
  129. content="2020-Mar-21">
  130. 03-21
  131. </time>
  132. </div>
  133. <div class="post-title">
  134. <a class="post-title-link" href="/posts/matrix-pow/" itemprop="url">
  135. <span itemprop="name">矩阵快速幂运用</span>
  136. </a>
  137. </div>
  138. </header>
  139. </article>
  140. <article itemscope itemtype="http://schema.org/Article">
  141. <header class="post-header">
  142. <div class="post-meta">
  143. <time itemprop="dateCreated"
  144. datetime="2020-03-04T12:53:05+08:00"
  145. content="2020-Mar-04">
  146. 03-04
  147. </time>
  148. </div>
  149. <div class="post-title">
  150. <a class="post-title-link" href="/posts/computer/" itemprop="url">
  151. <span itemprop="name">How do computers work?</span>
  152. </a>
  153. </div>
  154. </header>
  155. </article>
  156. <article itemscope itemtype="http://schema.org/Article">
  157. <header class="post-header">
  158. <div class="post-meta">
  159. <time itemprop="dateCreated"
  160. datetime="2020-03-02T11:37:36+08:00"
  161. content="2020-Mar-02">
  162. 03-02
  163. </time>
  164. </div>
  165. <div class="post-title">
  166. <a class="post-title-link" href="/posts/segment-tree/" itemprop="url">
  167. <span itemprop="name">线段树</span>
  168. </a>
  169. </div>
  170. </header>
  171. </article>
  172. <article itemscope itemtype="http://schema.org/Article">
  173. <header class="post-header">
  174. <div class="post-meta">
  175. <time itemprop="dateCreated"
  176. datetime="2020-03-02T11:35:44+08:00"
  177. content="2020-Mar-02">
  178. 03-02
  179. </time>
  180. </div>
  181. <div class="post-title">
  182. <a class="post-title-link" href="/posts/fibonacci/" itemprop="url">
  183. <span itemprop="name">斐波那契数列-O(1)</span>
  184. </a>
  185. </div>
  186. </header>
  187. </article>
  188. <article itemscope itemtype="http://schema.org/Article">
  189. <header class="post-header">
  190. <div class="post-meta">
  191. <time itemprop="dateCreated"
  192. datetime="2020-03-02T11:31:22+08:00"
  193. content="2020-Mar-02">
  194. 03-02
  195. </time>
  196. </div>
  197. <div class="post-title">
  198. <a class="post-title-link" href="/posts/dinic/" itemprop="url">
  199. <span itemprop="name">网络最大流-Dinic</span>
  200. </a>
  201. </div>
  202. </header>
  203. </article>
  204. <article itemscope itemtype="http://schema.org/Article">
  205. <header class="post-header">
  206. <div class="post-meta">
  207. <time itemprop="dateCreated"
  208. datetime="2020-03-01T22:45:44+08:00"
  209. content="2020-Mar-01">
  210. 03-01
  211. </time>
  212. </div>
  213. <div class="post-title">
  214. <a class="post-title-link" href="/posts/min-span-tree/" itemprop="url">
  215. <span itemprop="name">最小生成树</span>
  216. </a>
  217. </div>
  218. </header>
  219. </article>
  220. <article itemscope itemtype="http://schema.org/Article">
  221. <header class="post-header">
  222. <div class="post-meta">
  223. <time itemprop="dateCreated"
  224. datetime="2020-03-01T22:44:33+08:00"
  225. content="2020-Mar-01">
  226. 03-01
  227. </time>
  228. </div>
  229. <div class="post-title">
  230. <a class="post-title-link" href="/posts/union-find/" itemprop="url">
  231. <span itemprop="name">并查集</span>
  232. </a>
  233. </div>
  234. </header>
  235. </article>
  236. <article itemscope itemtype="http://schema.org/Article">
  237. <header class="post-header">
  238. <div class="post-meta">
  239. <time itemprop="dateCreated"
  240. datetime="2020-03-01T22:41:02+08:00"
  241. content="2020-Mar-01">
  242. 03-01
  243. </time>
  244. </div>
  245. <div class="post-title">
  246. <a class="post-title-link" href="/posts/tree-link/" itemprop="url">
  247. <span itemprop="name">树链剖分</span>
  248. </a>
  249. </div>
  250. </header>
  251. </article>
  252. <article itemscope itemtype="http://schema.org/Article">
  253. <header class="post-header">
  254. <div class="post-meta">
  255. <time itemprop="dateCreated"
  256. datetime="2020-03-01T22:36:07+08:00"
  257. content="2020-Mar-01">
  258. 03-01
  259. </time>
  260. </div>
  261. <div class="post-title">
  262. <a class="post-title-link" href="/posts/plan/" itemprop="url">
  263. <span itemprop="name">plan</span>
  264. </a>
  265. </div>
  266. </header>
  267. </article>
  268. <article itemscope itemtype="http://schema.org/Article">
  269. <header class="post-header">
  270. <div class="post-meta">
  271. <time itemprop="dateCreated"
  272. datetime="2020-03-01T11:06:43+08:00"
  273. content="2020-Mar-01">
  274. 03-01
  275. </time>
  276. </div>
  277. <div class="post-title">
  278. <a class="post-title-link" href="/posts/test/" itemprop="url">
  279. <span itemprop="name">test</span>
  280. </a>
  281. </div>
  282. </header>
  283. </article>
  284. </div>
  285. </div>
  286. </div>
  287. <script>
  288. window.addEventListener('tabs:register', () => {
  289. let { activeClass } = CONFIG.comments;
  290. if (CONFIG.comments.storage) {
  291. activeClass = localStorage.getItem('comments_active') || activeClass;
  292. }
  293. if (activeClass) {
  294. let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
  295. if (activeTab) {
  296. activeTab.click();
  297. }
  298. }
  299. });
  300. if (CONFIG.comments.storage) {
  301. window.addEventListener('tabs:click', event => {
  302. if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
  303. let commentClass = event.target.classList[1];
  304. localStorage.setItem('comments_active', commentClass);
  305. });
  306. }
  307. </script>
  308. </div>
  309. <div class="toggle sidebar-toggle">
  310. <span class="toggle-line toggle-line-first"></span>
  311. <span class="toggle-line toggle-line-middle"></span>
  312. <span class="toggle-line toggle-line-last"></span>
  313. </div>
  314. <aside class="sidebar">
  315. <div class="sidebar-inner">
  316. <ul class="sidebar-nav motion-element">
  317. <li class="sidebar-nav-toc">
  318. Table of Contents
  319. </li>
  320. <li class="sidebar-nav-overview">
  321. Overview
  322. </li>
  323. </ul>
  324. <!--noindex-->
  325. <div class="post-toc-wrap sidebar-panel">
  326. </div>
  327. <!--/noindex-->
  328. <div class="site-overview-wrap sidebar-panel">
  329. <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  330. <p class="site-author-name" itemprop="name">Alex</p>
  331. <div class="site-description" itemprop="description">The blog of a middle school OIer</div>
  332. </div>
  333. <div class="site-state-wrap motion-element">
  334. <nav class="site-state">
  335. <div class="site-state-item site-state-posts">
  336. <a href="/archives">
  337. <span class="site-state-item-count">10</span>
  338. <span class="site-state-item-name">posts</span>
  339. </a>
  340. </div>
  341. <div class="site-state-item site-state-tags">
  342. <a href="/tags/">
  343. <span class="site-state-item-count">4</span>
  344. <span class="site-state-item-name">tags</span></a>
  345. </div>
  346. </nav>
  347. </div>
  348. <div class="links-of-author motion-element">
  349. <span class="links-of-author-item">
  350. <a href="https://github.com/schtonn" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;schtonn" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i>GitHub</a>
  351. </span>
  352. <span class="links-of-author-item">
  353. <a href="mailto:m18519511495@163.com" title="E-Mail → mailto:m18519511495@163.com" rel="noopener" target="_blank"><i class="fa fa-fw fa-envelope"></i>E-Mail</a>
  354. </span>
  355. </div>
  356. <div class="links-of-blogroll motion-element">
  357. <div class="links-of-blogroll-title">
  358. <i class="fa fa-fw fa-link"></i>
  359. Links
  360. </div>
  361. <ul class="links-of-blogroll-list">
  362. <li class="links-of-blogroll-item">
  363. <a href="https://yonghong.github.io/" title="https:&#x2F;&#x2F;yonghong.github.io" rel="noopener" target="_blank">Yonghong</a>
  364. </li>
  365. <li class="links-of-blogroll-item">
  366. <a href="https://source.unsplash.com/random/1600x900" title="https:&#x2F;&#x2F;source.unsplash.com&#x2F;random&#x2F;1600x900" rel="noopener" target="_blank">Background</a>
  367. </li>
  368. </ul>
  369. </div>
  370. </div>
  371. <div id="treefrog" style="text-align: center;margin-top: 18px;">
  372. <object type="application/x-shockwave-flash" style="outline:none;" data="/flash/treefrog.swf?up_bodyColor=444444&up_pattern=0&up_flyColor=777777&up_tongueColor=555555&up_patternColor=000000&up_releaseFly=0&up_frogName=Froggie&up_backgroundImage=http://&up_bellySize=.5&up_footColor=444444&up_eyeColor=444444&up_backgroundColor=222222&" width="300" height="600"><param name="movie" value="http://cdn.abowman.com/widgets/treefrog/treefrog.swf?up_bodyColor=444444&up_pattern=0&up_flyColor=777777&up_tongueColor=555555&up_patternColor=000000&up_releaseFly=0&up_frogName=Froggie&up_backgroundImage=http://&up_bellySize=.5&up_footColor=444444&up_eyeColor=444444&up_backgroundColor=222222&"></param><param name="AllowScriptAccess" value="always"></param><param name="wmode" value="opaque"></param><param name="scale" value="noscale"/><param name="salign" value="tl"/></object>
  373. </div>
  374. </div>
  375. </aside>
  376. <div id="sidebar-dimmer"></div>
  377. </div>
  378. </main>
  379. <footer class="footer">
  380. <div class="footer-inner">
  381. <div class="copyright">
  382. &copy;
  383. <span itemprop="copyrightYear">2020</span>
  384. <span class="with-love">
  385. <i class="fa fa-user"></i>
  386. </span>
  387. <span class="author" itemprop="copyrightHolder">Alex Xiang</span>
  388. </div>
  389. </div>
  390. </footer>
  391. </div>
  392. <script src="/lib/anime.min.js"></script>
  393. <script src="//cdn.jsdelivr.net/npm/lozad@1/dist/lozad.min.js"></script>
  394. <script src="/lib/velocity/velocity.min.js"></script>
  395. <script src="/lib/velocity/velocity.ui.min.js"></script>
  396. <script src="/js/utils.js"></script>
  397. <script src="/js/motion.js"></script>
  398. <script src="/js/schemes/muse.js"></script>
  399. <script src="/js/next-boot.js"></script>
  400. <script>
  401. NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
  402. NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => {
  403. var GUEST = ['nick', 'mail', 'link'];
  404. var guest = 'nick,mail,link';
  405. guest = guest.split(',').filter(item => {
  406. return GUEST.includes(item);
  407. });
  408. new Valine({
  409. el : '#valine-comments',
  410. verify : true,
  411. notify : true,
  412. appId : 'BmologYYnRqCv0SLHDeDdA17-gzGzoHsz',
  413. appKey : 'w9mVebFMdCmY6Nh9vfcBGaGt',
  414. placeholder: "Say something.",
  415. avatar : 'mm',
  416. meta : guest,
  417. pageSize : '10' || 10,
  418. visitor : true,
  419. lang : 'en' || 'zh-cn',
  420. path : location.pathname,
  421. recordIP : true,
  422. serverURLs : ''
  423. });
  424. }, window.Valine);
  425. });
  426. </script>
  427. </body>
  428. </html>