index.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  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="引自:《信息学奥赛之-数学一本通》 揍是这样: F⁡(n)&#x3D;55⋅[(1+5)n−(1−5)n]\operatorname{F}(n)&#x3D;\dfrac{\sqrt{5}}{5}\cdot\left[\left(1+\sqrt{5}\right)^n-\left(1-\sqrt{5}\right)^n\right] F(n)&#x3D;55​​⋅[(1+5​)n−(1−5​)n] 代码揍这么简单: 123int">
  21. <meta property="og:type" content="article">
  22. <meta property="og:title" content="斐波那契数列-O(1)">
  23. <meta property="og:url" content="https://schtonn.github.io/posts/fibonacci/index.html">
  24. <meta property="og:site_name" content="Alex&#39;s Blog">
  25. <meta property="og:description" content="引自:《信息学奥赛之-数学一本通》 揍是这样: F⁡(n)&#x3D;55⋅[(1+5)n−(1−5)n]\operatorname{F}(n)&#x3D;\dfrac{\sqrt{5}}{5}\cdot\left[\left(1+\sqrt{5}\right)^n-\left(1-\sqrt{5}\right)^n\right] F(n)&#x3D;55​​⋅[(1+5​)n−(1−5​)n] 代码揍这么简单: 123int">
  26. <meta property="og:locale" content="en_US">
  27. <meta property="article:published_time" content="2020-03-02T03:35:44.000Z">
  28. <meta property="article:modified_time" content="2020-03-29T14:23:24.562Z">
  29. <meta property="article:author" content="Alex">
  30. <meta property="article:tag" content="math">
  31. <meta name="twitter:card" content="summary">
  32. <link rel="canonical" href="https://schtonn.github.io/posts/fibonacci/">
  33. <script id="page-configurations">
  34. // https://hexo.io/docs/variables.html
  35. CONFIG.page = {
  36. sidebar: "",
  37. isHome : false,
  38. isPost : true,
  39. lang : 'en'
  40. };
  41. </script>
  42. <title>斐波那契数列-O(1) | Alex's Blog</title>
  43. <noscript>
  44. <style>
  45. .use-motion .brand,
  46. .use-motion .menu-item,
  47. .sidebar-inner,
  48. .use-motion .post-block,
  49. .use-motion .pagination,
  50. .use-motion .comments,
  51. .use-motion .post-header,
  52. .use-motion .post-body,
  53. .use-motion .collection-header { opacity: initial; }
  54. .use-motion .site-title,
  55. .use-motion .site-subtitle {
  56. opacity: initial;
  57. top: initial;
  58. }
  59. .use-motion .logo-line-before i { left: initial; }
  60. .use-motion .logo-line-after i { right: initial; }
  61. </style>
  62. </noscript>
  63. </head>
  64. <body itemscope itemtype="http://schema.org/WebPage">
  65. <div class="container use-motion">
  66. <div class="headband"></div>
  67. <header class="header" itemscope itemtype="http://schema.org/WPHeader">
  68. <div class="header-inner"><div class="site-brand-container">
  69. <div class="site-nav-toggle">
  70. <div class="toggle" aria-label="Toggle navigation bar">
  71. <span class="toggle-line toggle-line-first"></span>
  72. <span class="toggle-line toggle-line-middle"></span>
  73. <span class="toggle-line toggle-line-last"></span>
  74. </div>
  75. </div>
  76. <div class="site-meta">
  77. <a href="/" class="brand" rel="start">
  78. <span class="logo-line-before"><i></i></span>
  79. <h1 class="site-title">Alex's Blog</h1>
  80. <span class="logo-line-after"><i></i></span>
  81. </a>
  82. <p class="site-subtitle" itemprop="description">Middle school OIer</p>
  83. </div>
  84. <div class="site-nav-right">
  85. <div class="toggle popup-trigger">
  86. </div>
  87. </div>
  88. </div>
  89. <nav class="site-nav">
  90. <ul id="menu" class="menu">
  91. <li class="menu-item menu-item-home">
  92. <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>Home</a>
  93. </li>
  94. <li class="menu-item menu-item-tags">
  95. <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>Tags</a>
  96. </li>
  97. <li class="menu-item menu-item-archives">
  98. <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>Archives</a>
  99. </li>
  100. <li class="menu-item menu-item-games">
  101. <a href="/games/" rel="section"><i class="fa fa-fw fa-gamepad"></i>Games</a>
  102. </li>
  103. <li class="menu-item menu-item-sans">
  104. <a href="/sans/" rel="section"><i class="fa fa-fw fa-heart"></i>sans</a>
  105. </li>
  106. </ul>
  107. </nav>
  108. </div>
  109. </header>
  110. <div class="back-to-top">
  111. <i class="fa fa-arrow-up"></i>
  112. <span>0%</span>
  113. </div>
  114. <div class="reading-progress-bar"></div>
  115. <main class="main">
  116. <div class="main-inner">
  117. <div class="content-wrap">
  118. <div class="content post posts-expand">
  119. <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
  120. <link itemprop="mainEntityOfPage" href="https://schtonn.github.io/posts/fibonacci/">
  121. <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
  122. <meta itemprop="image" content="/images/avatar.gif">
  123. <meta itemprop="name" content="Alex">
  124. <meta itemprop="description" content="The blog of a middle school OIer">
  125. </span>
  126. <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
  127. <meta itemprop="name" content="Alex's Blog">
  128. </span>
  129. <header class="post-header">
  130. <h1 class="post-title" itemprop="name headline">
  131. 斐波那契数列-O(1)
  132. </h1>
  133. <div class="post-meta">
  134. <span class="post-meta-item">
  135. <span class="post-meta-item-icon">
  136. <i class="fa fa-calendar-o"></i>
  137. </span>
  138. <span class="post-meta-item-text">Posted on</span>
  139. <time title="Created: 2020-Mar-02 11:35:44" itemprop="dateCreated datePublished" datetime="2020-03-02T11:35:44+08:00">2020-Mar-02</time>
  140. </span>
  141. <span class="post-meta-item">
  142. <span class="post-meta-item-icon">
  143. <i class="fa fa-calendar-check-o"></i>
  144. </span>
  145. <span class="post-meta-item-text">Edited on</span>
  146. <time title="Modified: 2020-Mar-29 22:23:24" itemprop="dateModified" datetime="2020-03-29T22:23:24+08:00">2020-Mar-29</time>
  147. </span>
  148. <span id="/posts/fibonacci/" class="post-meta-item leancloud_visitors" data-flag-title="斐波那契数列-O(1)" title="Views">
  149. <span class="post-meta-item-icon">
  150. <i class="fa fa-eye"></i>
  151. </span>
  152. <span class="post-meta-item-text">Views: </span>
  153. <span class="leancloud-visitors-count"></span>
  154. </span>
  155. <span class="post-meta-item">
  156. <span class="post-meta-item-icon">
  157. <i class="fa fa-comment-o"></i>
  158. </span>
  159. <span class="post-meta-item-text">Valine: </span>
  160. <a title="valine" href="/posts/fibonacci/#valine-comments" itemprop="discussionUrl">
  161. <span class="post-comments-count valine-comment-count" data-xid="/posts/fibonacci/" itemprop="commentCount"></span>
  162. </a>
  163. </span>
  164. </div>
  165. </header>
  166. <div class="post-body" itemprop="articleBody">
  167. <p>引自:《信息学奥赛之-数学一本通》<br />
  168. 揍是这样:</p>
  169. <p class='katex-block'><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi mathvariant="normal">F</mi><mo>⁡</mo><mo stretchy="false">(</mo><mi>n</mi><mo stretchy="false">)</mo><mo>=</mo><mfrac><msqrt><mn>5</mn></msqrt><mn>5</mn></mfrac><mo>⋅</mo><mrow><mo fence="true">[</mo><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>+</mo><msqrt><mn>5</mn></msqrt><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo>−</mo><msup><mrow><mo fence="true">(</mo><mn>1</mn><mo>−</mo><msqrt><mn>5</mn></msqrt><mo fence="true">)</mo></mrow><mi>n</mi></msup><mo fence="true">]</mo></mrow></mrow><annotation encoding="application/x-tex">\operatorname{F}(n)=\dfrac{\sqrt{5}}{5}\cdot\left[\left(1+\sqrt{5}\right)^n-\left(1-\sqrt{5}\right)^n\right]
  170. </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mop"><span class="mord mathrm">F</span></span><span class="mopen">(</span><span class="mord mathdefault">n</span><span class="mclose">)</span><span class="mspace" style="margin-right:0.2777777777777778em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right:0.2777777777777778em;"></span></span><span class="base"><span class="strut" style="height:2.27022em;vertical-align:-0.686em;"></span><span class="mord"><span class="mopen nulldelimiter"></span><span class="mfrac"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:1.5842200000000002em;"><span style="top:-2.314em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mord">5</span></span></span><span style="top:-3.23em;"><span class="pstrut" style="height:3em;"></span><span class="frac-line" style="border-bottom-width:0.04em;"></span></span><span style="top:-3.677em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mord sqrt"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.90722em;"><span class="svg-align" style="top:-3em;"><span class="pstrut" style="height:3em;"></span><span class="mord" style="padding-left:0.833em;"><span class="mord">5</span></span></span><span style="top:-2.86722em;"><span class="pstrut" style="height:3em;"></span><span class="hide-tail" style="min-width:0.853em;height:1.08em;"><svg width='400em' height='1.08em' viewBox='0 0 400000 1080' preserveAspectRatio='xMinYMin slice'><path d='M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,
  171. -10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,
  172. -50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,
  173. 35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,
  174. -221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467
  175. s-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422
  176. s-65,47,-65,47z M834 80H400000v40H845z'/></svg></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.13278em;"><span></span></span></span></span></span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.686em;"><span></span></span></span></span></span><span class="mclose nulldelimiter"></span></span><span class="mspace" style="margin-right:0.2222222222222222em;"></span><span class="mbin">⋅</span><span class="mspace" style="margin-right:0.2222222222222222em;"></span></span><span class="base"><span class="strut" style="height:1.854312em;vertical-align:-0.65002em;"></span><span class="minner"><span class="mopen delimcenter" style="top:0em;"><span class="delimsizing size2">[</span></span><span class="minner"><span class="minner"><span class="mopen delimcenter" style="top:0em;"><span class="delimsizing size2">(</span></span><span class="mord">1</span><span class="mspace" style="margin-right:0.2222222222222222em;"></span><span class="mbin">+</span><span class="mspace" style="margin-right:0.2222222222222222em;"></span><span class="mord sqrt"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.956095em;"><span class="svg-align" style="top:-3em;"><span class="pstrut" style="height:3em;"></span><span class="mord" style="padding-left:0.833em;"><span class="mord">5</span></span></span><span style="top:-2.916095em;"><span class="pstrut" style="height:3em;"></span><span class="hide-tail" style="min-width:0.853em;height:1.08em;"><svg width='400em' height='1.08em' viewBox='0 0 400000 1080' preserveAspectRatio='xMinYMin slice'><path d='M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,
  177. -10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,
  178. -50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,
  179. 35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,
  180. -221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467
  181. s-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422
  182. s-65,47,-65,47z M834 80H400000v40H845z'/></svg></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.08390500000000001em;"><span></span></span></span></span></span><span class="mclose delimcenter" style="top:0em;"><span class="delimsizing size2">)</span></span></span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:1.204292em;"><span style="top:-3.6029em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathdefault mtight">n</span></span></span></span></span></span></span></span><span class="mspace" style="margin-right:0.2222222222222222em;"></span><span class="mbin">−</span><span class="mspace" style="margin-right:0.2222222222222222em;"></span><span class="minner"><span class="minner"><span class="mopen delimcenter" style="top:0em;"><span class="delimsizing size2">(</span></span><span class="mord">1</span><span class="mspace" style="margin-right:0.2222222222222222em;"></span><span class="mbin">−</span><span class="mspace" style="margin-right:0.2222222222222222em;"></span><span class="mord sqrt"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.956095em;"><span class="svg-align" style="top:-3em;"><span class="pstrut" style="height:3em;"></span><span class="mord" style="padding-left:0.833em;"><span class="mord">5</span></span></span><span style="top:-2.916095em;"><span class="pstrut" style="height:3em;"></span><span class="hide-tail" style="min-width:0.853em;height:1.08em;"><svg width='400em' height='1.08em' viewBox='0 0 400000 1080' preserveAspectRatio='xMinYMin slice'><path d='M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,
  183. -10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,
  184. -50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,
  185. 35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,
  186. -221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467
  187. s-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422
  188. s-65,47,-65,47z M834 80H400000v40H845z'/></svg></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.08390500000000001em;"><span></span></span></span></span></span><span class="mclose delimcenter" style="top:0em;"><span class="delimsizing size2">)</span></span></span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:1.204292em;"><span style="top:-3.6029em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathdefault mtight">n</span></span></span></span></span></span></span></span><span class="mclose delimcenter" style="top:0em;"><span class="delimsizing size2">]</span></span></span></span></span></span></span></p>
  189. <p>代码揍这么简单:</p>
  190. <figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="function"><span class="keyword">int</span> <span class="title">fibo</span><span class="params">(<span class="keyword">int</span> n)</span></span>&#123;</span><br><span class="line"> <span class="keyword">return</span> (<span class="built_in">sqrt</span>(<span class="number">5</span>)/<span class="number">5</span>)*(<span class="built_in">pow</span>((<span class="number">1</span>+<span class="built_in">sqrt</span>(<span class="number">5</span>))/<span class="number">2</span>,n)-<span class="built_in">pow</span>((<span class="number">1</span>-<span class="built_in">sqrt</span>(<span class="number">5</span>))/<span class="number">2</span>,n));</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
  191. <p>要是再加个快速幂就更棒了(够快了,懒得写)</p>
  192. </div>
  193. <div>
  194. <ul class="post-copyright">
  195. <li class="post-copyright-author">
  196. <strong>Post author: </strong>Alex
  197. </li>
  198. <li class="post-copyright-link">
  199. <strong>Post link: </strong>
  200. <a href="https://schtonn.github.io/posts/fibonacci/" title="斐波那契数列-O(1)">https://schtonn.github.io/posts/fibonacci/</a>
  201. </li>
  202. <li class="post-copyright-license">
  203. <strong>Copyright Notice: </strong>All articles in this blog are licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fa fa-fw fa-creative-commons"></i>BY-NC-SA</a> unless stating additionally.
  204. </li>
  205. </ul>
  206. </div>
  207. <footer class="post-footer">
  208. <div class="post-tags">
  209. <a href="/tags/math/" rel="tag"><i class="fa fa-tag"></i> math</a>
  210. </div>
  211. <div class="post-nav">
  212. <div class="post-nav-item">
  213. <a href="/posts/dinic/" rel="prev" title="网络最大流-Dinic">
  214. <i class="fa fa-chevron-left"></i> 网络最大流-Dinic
  215. </a></div>
  216. <div class="post-nav-item">
  217. <a href="/posts/segment-tree/" rel="next" title="线段树">
  218. 线段树 <i class="fa fa-chevron-right"></i>
  219. </a></div>
  220. </div>
  221. </footer>
  222. </article>
  223. </div>
  224. <div class="comments" id="valine-comments"></div>
  225. <script>
  226. window.addEventListener('tabs:register', () => {
  227. let { activeClass } = CONFIG.comments;
  228. if (CONFIG.comments.storage) {
  229. activeClass = localStorage.getItem('comments_active') || activeClass;
  230. }
  231. if (activeClass) {
  232. let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
  233. if (activeTab) {
  234. activeTab.click();
  235. }
  236. }
  237. });
  238. if (CONFIG.comments.storage) {
  239. window.addEventListener('tabs:click', event => {
  240. if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
  241. let commentClass = event.target.classList[1];
  242. localStorage.setItem('comments_active', commentClass);
  243. });
  244. }
  245. </script>
  246. </div>
  247. <div class="toggle sidebar-toggle">
  248. <span class="toggle-line toggle-line-first"></span>
  249. <span class="toggle-line toggle-line-middle"></span>
  250. <span class="toggle-line toggle-line-last"></span>
  251. </div>
  252. <aside class="sidebar">
  253. <div class="sidebar-inner">
  254. <ul class="sidebar-nav motion-element">
  255. <li class="sidebar-nav-toc">
  256. Table of Contents
  257. </li>
  258. <li class="sidebar-nav-overview">
  259. Overview
  260. </li>
  261. </ul>
  262. <!--noindex-->
  263. <div class="post-toc-wrap sidebar-panel">
  264. </div>
  265. <!--/noindex-->
  266. <div class="site-overview-wrap sidebar-panel">
  267. <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  268. <p class="site-author-name" itemprop="name">Alex</p>
  269. <div class="site-description" itemprop="description">The blog of a middle school OIer</div>
  270. </div>
  271. <div class="site-state-wrap motion-element">
  272. <nav class="site-state">
  273. <div class="site-state-item site-state-posts">
  274. <a href="/archives">
  275. <span class="site-state-item-count">10</span>
  276. <span class="site-state-item-name">posts</span>
  277. </a>
  278. </div>
  279. <div class="site-state-item site-state-tags">
  280. <a href="/tags/">
  281. <span class="site-state-item-count">4</span>
  282. <span class="site-state-item-name">tags</span></a>
  283. </div>
  284. </nav>
  285. </div>
  286. <div class="links-of-author motion-element">
  287. <span class="links-of-author-item">
  288. <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>
  289. </span>
  290. <span class="links-of-author-item">
  291. <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>
  292. </span>
  293. </div>
  294. <div class="links-of-blogroll motion-element">
  295. <div class="links-of-blogroll-title">
  296. <i class="fa fa-fw fa-link"></i>
  297. Links
  298. </div>
  299. <ul class="links-of-blogroll-list">
  300. <li class="links-of-blogroll-item">
  301. <a href="https://yonghong.github.io/" title="https:&#x2F;&#x2F;yonghong.github.io" rel="noopener" target="_blank">Yonghong</a>
  302. </li>
  303. <li class="links-of-blogroll-item">
  304. <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>
  305. </li>
  306. </ul>
  307. </div>
  308. </div>
  309. <div id="treefrog" style="text-align: center;margin-top: 18px;">
  310. <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>
  311. </div>
  312. </div>
  313. </aside>
  314. <div id="sidebar-dimmer"></div>
  315. </div>
  316. </main>
  317. <footer class="footer">
  318. <div class="footer-inner">
  319. <div class="copyright">
  320. &copy;
  321. <span itemprop="copyrightYear">2020</span>
  322. <span class="with-love">
  323. <i class="fa fa-user"></i>
  324. </span>
  325. <span class="author" itemprop="copyrightHolder">Alex Xiang</span>
  326. </div>
  327. </div>
  328. </footer>
  329. </div>
  330. <script src="/lib/anime.min.js"></script>
  331. <script src="//cdn.jsdelivr.net/npm/lozad@1/dist/lozad.min.js"></script>
  332. <script src="/lib/velocity/velocity.min.js"></script>
  333. <script src="/lib/velocity/velocity.ui.min.js"></script>
  334. <script src="/js/utils.js"></script>
  335. <script src="/js/motion.js"></script>
  336. <script src="/js/schemes/muse.js"></script>
  337. <script src="/js/next-boot.js"></script>
  338. <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css">
  339. <script>
  340. NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
  341. NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => {
  342. var GUEST = ['nick', 'mail', 'link'];
  343. var guest = 'nick,mail,link';
  344. guest = guest.split(',').filter(item => {
  345. return GUEST.includes(item);
  346. });
  347. new Valine({
  348. el : '#valine-comments',
  349. verify : true,
  350. notify : true,
  351. appId : 'BmologYYnRqCv0SLHDeDdA17-gzGzoHsz',
  352. appKey : 'w9mVebFMdCmY6Nh9vfcBGaGt',
  353. placeholder: "Say something.",
  354. avatar : 'mm',
  355. meta : guest,
  356. pageSize : '10' || 10,
  357. visitor : true,
  358. lang : 'en' || 'zh-cn',
  359. path : location.pathname,
  360. recordIP : true,
  361. serverURLs : ''
  362. });
  363. }, window.Valine);
  364. });
  365. </script>
  366. </body>
  367. </html>