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.7.2","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":"slideLeftIn"}}};
  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/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/">
  30. <script id="page-configurations">
  31. // https://hexo.io/docs/variables.html
  32. CONFIG.page = {
  33. sidebar: "",
  34. isHome : false,
  35. isPost : false
  36. };
  37. </script>
  38. <title>Archive | Alex's Blog</title>
  39. <noscript>
  40. <style>
  41. .use-motion .brand,
  42. .use-motion .menu-item,
  43. .sidebar-inner,
  44. .use-motion .post-block,
  45. .use-motion .pagination,
  46. .use-motion .comments,
  47. .use-motion .post-header,
  48. .use-motion .post-body,
  49. .use-motion .collection-header { opacity: initial; }
  50. .use-motion .site-title,
  51. .use-motion .site-subtitle {
  52. opacity: initial;
  53. top: initial;
  54. }
  55. .use-motion .logo-line-before i { left: initial; }
  56. .use-motion .logo-line-after i { right: initial; }
  57. </style>
  58. </noscript>
  59. </head>
  60. <body itemscope itemtype="http://schema.org/WebPage">
  61. <div class="container use-motion">
  62. <div class="headband"></div>
  63. <header class="header" itemscope itemtype="http://schema.org/WPHeader">
  64. <div class="header-inner"><div class="site-brand-container">
  65. <div class="site-nav-toggle">
  66. <div class="toggle" aria-label="Toggle navigation bar">
  67. <span class="toggle-line toggle-line-first"></span>
  68. <span class="toggle-line toggle-line-middle"></span>
  69. <span class="toggle-line toggle-line-last"></span>
  70. </div>
  71. </div>
  72. <div class="site-meta">
  73. <div>
  74. <a href="/" class="brand" rel="start">
  75. <span class="logo-line-before"><i></i></span>
  76. <span class="site-title">Alex's Blog</span>
  77. <span class="logo-line-after"><i></i></span>
  78. </a>
  79. </div>
  80. <p class="site-subtitle">Middle school OIer</p>
  81. </div>
  82. <div class="site-nav-right">
  83. <div class="toggle popup-trigger">
  84. </div>
  85. </div>
  86. </div>
  87. <nav class="site-nav">
  88. <ul id="menu" class="menu">
  89. <li class="menu-item menu-item-home">
  90. <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>Home</a>
  91. </li>
  92. <li class="menu-item menu-item-tags">
  93. <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>Tags</a>
  94. </li>
  95. <li class="menu-item menu-item-archives">
  96. <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>Archives</a>
  97. </li>
  98. <li class="menu-item menu-item-games">
  99. <a href="/games/" rel="section"><i class="fa fa-fw fa-gamepad"></i>Games</a>
  100. </li>
  101. <li class="menu-item menu-item-sans">
  102. <a href="/sans/" rel="section"><i class="fa fa-fw fa-heart"></i>sans</a>
  103. </li>
  104. </ul>
  105. </nav>
  106. </div>
  107. </header>
  108. <div class="back-to-top">
  109. <i class="fa fa-arrow-up"></i>
  110. <span>0%</span>
  111. </div>
  112. <div class="reading-progress-bar"></div>
  113. <main class="main">
  114. <div class="main-inner">
  115. <div class="content-wrap">
  116. <div class="content">
  117. <div class="post-block">
  118. <div class="posts-collapse">
  119. <div class="collection-title">
  120. <span class="collection-header">Um..! 10 posts in total. Keep on posting.</span>
  121. </div>
  122. <div class="collection-year">
  123. <h1 class="collection-header">2020</h1>
  124. </div>
  125. <article itemscope itemtype="http://schema.org/Article">
  126. <header class="post-header">
  127. <div class="post-meta">
  128. <time itemprop="dateCreated"
  129. datetime="2020-03-21T19:20:08+08:00"
  130. content="2020-Mar-21">
  131. 03-21
  132. </time>
  133. </div>
  134. <h2 class="post-title">
  135. <a class="post-title-link" href="/posts/matrix-pow/" itemprop="url">
  136. <span itemprop="name">矩阵快速幂运用</span>
  137. </a>
  138. </h2>
  139. </header>
  140. </article>
  141. <article itemscope itemtype="http://schema.org/Article">
  142. <header class="post-header">
  143. <div class="post-meta">
  144. <time itemprop="dateCreated"
  145. datetime="2020-03-04T12:53:05+08:00"
  146. content="2020-Mar-04">
  147. 03-04
  148. </time>
  149. </div>
  150. <h2 class="post-title">
  151. <a class="post-title-link" href="/posts/computer/" itemprop="url">
  152. <span itemprop="name">How do computers work?</span>
  153. </a>
  154. </h2>
  155. </header>
  156. </article>
  157. <article itemscope itemtype="http://schema.org/Article">
  158. <header class="post-header">
  159. <div class="post-meta">
  160. <time itemprop="dateCreated"
  161. datetime="2020-03-02T11:37:36+08:00"
  162. content="2020-Mar-02">
  163. 03-02
  164. </time>
  165. </div>
  166. <h2 class="post-title">
  167. <a class="post-title-link" href="/posts/segment-tree/" itemprop="url">
  168. <span itemprop="name">线段树</span>
  169. </a>
  170. </h2>
  171. </header>
  172. </article>
  173. <article itemscope itemtype="http://schema.org/Article">
  174. <header class="post-header">
  175. <div class="post-meta">
  176. <time itemprop="dateCreated"
  177. datetime="2020-03-02T11:35:44+08:00"
  178. content="2020-Mar-02">
  179. 03-02
  180. </time>
  181. </div>
  182. <h2 class="post-title">
  183. <a class="post-title-link" href="/posts/ferbonacci/" itemprop="url">
  184. <span itemprop="name">斐波那契数列-O(1)</span>
  185. </a>
  186. </h2>
  187. </header>
  188. </article>
  189. <article itemscope itemtype="http://schema.org/Article">
  190. <header class="post-header">
  191. <div class="post-meta">
  192. <time itemprop="dateCreated"
  193. datetime="2020-03-02T11:31:22+08:00"
  194. content="2020-Mar-02">
  195. 03-02
  196. </time>
  197. </div>
  198. <h2 class="post-title">
  199. <a class="post-title-link" href="/posts/dinic/" itemprop="url">
  200. <span itemprop="name">网络最大流-Dinic</span>
  201. </a>
  202. </h2>
  203. </header>
  204. </article>
  205. <article itemscope itemtype="http://schema.org/Article">
  206. <header class="post-header">
  207. <div class="post-meta">
  208. <time itemprop="dateCreated"
  209. datetime="2020-03-01T22:45:44+08:00"
  210. content="2020-Mar-01">
  211. 03-01
  212. </time>
  213. </div>
  214. <h2 class="post-title">
  215. <a class="post-title-link" href="/posts/min-span-tree/" itemprop="url">
  216. <span itemprop="name">最小生成树</span>
  217. </a>
  218. </h2>
  219. </header>
  220. </article>
  221. <article itemscope itemtype="http://schema.org/Article">
  222. <header class="post-header">
  223. <div class="post-meta">
  224. <time itemprop="dateCreated"
  225. datetime="2020-03-01T22:44:33+08:00"
  226. content="2020-Mar-01">
  227. 03-01
  228. </time>
  229. </div>
  230. <h2 class="post-title">
  231. <a class="post-title-link" href="/posts/union-find/" itemprop="url">
  232. <span itemprop="name">并查集</span>
  233. </a>
  234. </h2>
  235. </header>
  236. </article>
  237. <article itemscope itemtype="http://schema.org/Article">
  238. <header class="post-header">
  239. <div class="post-meta">
  240. <time itemprop="dateCreated"
  241. datetime="2020-03-01T22:41:02+08:00"
  242. content="2020-Mar-01">
  243. 03-01
  244. </time>
  245. </div>
  246. <h2 class="post-title">
  247. <a class="post-title-link" href="/posts/tree-link/" itemprop="url">
  248. <span itemprop="name">树链剖分</span>
  249. </a>
  250. </h2>
  251. </header>
  252. </article>
  253. <article itemscope itemtype="http://schema.org/Article">
  254. <header class="post-header">
  255. <div class="post-meta">
  256. <time itemprop="dateCreated"
  257. datetime="2020-03-01T22:36:07+08:00"
  258. content="2020-Mar-01">
  259. 03-01
  260. </time>
  261. </div>
  262. <h2 class="post-title">
  263. <a class="post-title-link" href="/posts/plan/" itemprop="url">
  264. <span itemprop="name">plan</span>
  265. </a>
  266. </h2>
  267. </header>
  268. </article>
  269. <article itemscope itemtype="http://schema.org/Article">
  270. <header class="post-header">
  271. <div class="post-meta">
  272. <time itemprop="dateCreated"
  273. datetime="2020-03-01T11:06:43+08:00"
  274. content="2020-Mar-01">
  275. 03-01
  276. </time>
  277. </div>
  278. <h2 class="post-title">
  279. <a class="post-title-link" href="/posts/test/" itemprop="url">
  280. <span itemprop="name">test</span>
  281. </a>
  282. </h2>
  283. </header>
  284. </article>
  285. </div>
  286. </div>
  287. </div>
  288. <script>
  289. window.addEventListener('tabs:register', () => {
  290. let activeClass = CONFIG.comments.activeClass;
  291. if (CONFIG.comments.storage) {
  292. activeClass = localStorage.getItem('comments_active') || activeClass;
  293. }
  294. if (activeClass) {
  295. let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
  296. if (activeTab) {
  297. activeTab.click();
  298. }
  299. }
  300. });
  301. if (CONFIG.comments.storage) {
  302. window.addEventListener('tabs:click', event => {
  303. if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
  304. let commentClass = event.target.classList[1];
  305. localStorage.setItem('comments_active', commentClass);
  306. });
  307. }
  308. </script>
  309. </div>
  310. <div class="toggle sidebar-toggle">
  311. <span class="toggle-line toggle-line-first"></span>
  312. <span class="toggle-line toggle-line-middle"></span>
  313. <span class="toggle-line toggle-line-last"></span>
  314. </div>
  315. <aside class="sidebar">
  316. <div class="sidebar-inner">
  317. <ul class="sidebar-nav motion-element">
  318. <li class="sidebar-nav-toc">
  319. Table of Contents
  320. </li>
  321. <li class="sidebar-nav-overview">
  322. Overview
  323. </li>
  324. </ul>
  325. <!--noindex-->
  326. <div class="post-toc-wrap sidebar-panel">
  327. </div>
  328. <!--/noindex-->
  329. <div class="site-overview-wrap sidebar-panel">
  330. <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  331. <p class="site-author-name" itemprop="name">Alex</p>
  332. <div class="site-description" itemprop="description">The blog of a middle school OIer</div>
  333. </div>
  334. <div class="site-state-wrap motion-element">
  335. <nav class="site-state">
  336. <div class="site-state-item site-state-posts">
  337. <a href="/archives">
  338. <span class="site-state-item-count">10</span>
  339. <span class="site-state-item-name">posts</span>
  340. </a>
  341. </div>
  342. <div class="site-state-item site-state-tags">
  343. <a href="/tags/">
  344. <span class="site-state-item-count">4</span>
  345. <span class="site-state-item-name">tags</span></a>
  346. </div>
  347. </nav>
  348. </div>
  349. <div class="links-of-author motion-element">
  350. <span class="links-of-author-item">
  351. <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>
  352. </span>
  353. <span class="links-of-author-item">
  354. <a href="skype:alex?call|chat" title="Skype → skype:alex?call|chat" rel="noopener" target="_blank"><i class="fa fa-fw fa-skype"></i>Skype</a>
  355. </span>
  356. </div>
  357. <div class="links-of-blogroll motion-element">
  358. <div class="links-of-blogroll-title">
  359. <i class="fa fa-fw fa-link"></i>
  360. Links
  361. </div>
  362. <ul class="links-of-blogroll-list">
  363. <li class="links-of-blogroll-item">
  364. <a href="https://yonghong.github.io/" title="https:&#x2F;&#x2F;yonghong.github.io" rel="noopener" target="_blank">Yonghong</a>
  365. </li>
  366. <li class="links-of-blogroll-item">
  367. <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>
  368. </li>
  369. </ul>
  370. </div>
  371. </div>
  372. <div id="treefrog" style="text-align: center;margin-top: 18px;">
  373. <object type="application/x-shockwave-flash" style="outline:none;" data="/js/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>
  374. </div>
  375. </div>
  376. </aside>
  377. <div id="sidebar-dimmer"></div>
  378. </div>
  379. </main>
  380. <footer class="footer">
  381. <div class="footer-inner">
  382. <div class="copyright">
  383. &copy;
  384. <span itemprop="copyrightYear">2020</span>
  385. <span class="with-love">
  386. <i class="fa fa-user"></i>
  387. </span>
  388. <span class="author" itemprop="copyrightHolder">Alex Xiang</span>
  389. </div>
  390. </div>
  391. </footer>
  392. </div>
  393. <script src="/lib/anime.min.js"></script>
  394. <script src="//cdn.jsdelivr.net/npm/lozad@1/dist/lozad.min.js"></script>
  395. <script src="/lib/velocity/velocity.min.js"></script>
  396. <script src="/lib/velocity/velocity.ui.min.js"></script>
  397. <script src="/js/utils.js"></script>
  398. <script src="/js/motion.js"></script>
  399. <script src="/js/schemes/muse.js"></script>
  400. <script src="/js/next-boot.js"></script>
  401. <script>
  402. (function(){
  403. var bp = document.createElement('script');
  404. var curProtocol = window.location.protocol.split(':')[0];
  405. bp.src = (curProtocol === 'https') ? 'https://zz.bdstatic.com/linksubmit/push.js' : 'http://push.zhanzhang.baidu.com/push.js';
  406. var s = document.getElementsByTagName("script")[0];
  407. s.parentNode.insertBefore(bp, s);
  408. })();
  409. </script>
  410. <script>
  411. NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
  412. NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => {
  413. var GUEST = ['nick', 'mail', 'link'];
  414. var guest = 'nick,mail,link';
  415. guest = guest.split(',').filter(item => {
  416. return GUEST.includes(item);
  417. });
  418. new Valine({
  419. el : '#valine-comments',
  420. verify : true,
  421. notify : true,
  422. appId : 'BmologYYnRqCv0SLHDeDdA17-gzGzoHsz',
  423. appKey : 'w9mVebFMdCmY6Nh9vfcBGaGt',
  424. placeholder: "Balabala.bibibibibibi.bopbopbibibop.barbarbababb.jaxjaxjax.dindididndi.lerblerb.pilipildde.",
  425. avatar : 'mm',
  426. meta : guest,
  427. pageSize : '10' || 10,
  428. visitor : false,
  429. lang : 'en' || 'zh-cn',
  430. path : location.pathname,
  431. recordIP : false,
  432. serverURLs : ''
  433. });
  434. }, window.Valine);
  435. });
  436. </script>
  437. </body>
  438. </html>