-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8eaa06
commit 092ea26
Showing
4 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"title":"20240922","url":"/2024/09/22/20240922/","content":"<h1 id=\"回归辣\"><a href=\"#回归辣\" class=\"headerlink\" title=\"回归辣\"></a>回归辣</h1><h2 id=\"昨日总结\"><a href=\"#昨日总结\" class=\"headerlink\" title=\"昨日总结\"></a>昨日总结</h2><p>给昨天先做一下总结</p>\n<ol>\n<li>骑车到达尖岭沙滩,闻到了海的味道,舒服。</li>\n<li>重建了博客,今后要多写多总结</li>\n<li>复建CF,但是发现自己好菜啊。 另: 不开<code>long long</code> 见祖宗</li>\n<li>早上看了看丘维声的高等代数。这才是好的大学老师的模样啊!</li>\n</ol>\n<p>大概就是这些了,今日事件晚上再更新。</p>\n<p>下面是一些图片:</p>\n<p><img src=\"/2024/09/22/20240922/cows.jpg\" alt=\"牛\"><br><img src=\"/2024/09/22/20240922/sea.jpg\" alt=\"海\"><br><img src=\"/2024/09/22/20240922/chair.jpg\" alt=\"椅\"><br><img src=\"/2024/09/22/20240922/sea.jpg\" alt=\"花\"></p>\n"},{"title":"Hello World","url":"/2024/09/21/hello-world/","content":"<p>Welcome to <a href=\"https://hexo.io/\">Hexo</a>! This is your very first post. Check <a href=\"https://hexo.io/docs/\">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href=\"https://hexo.io/docs/troubleshooting.html\">troubleshooting</a> or you can ask me on <a href=\"https://github.com/hexojs/hexo/issues\">GitHub</a>.</p>\n<h2 id=\"Quick-Start\"><a href=\"#Quick-Start\" class=\"headerlink\" title=\"Quick Start\"></a>Quick Start</h2><h3 id=\"Create-a-new-post\"><a href=\"#Create-a-new-post\" class=\"headerlink\" title=\"Create a new post\"></a>Create a new post</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo new <span class=\"hljs-string\">"My New Post"</span><br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/writing.html\">Writing</a></p>\n<h3 id=\"Run-server\"><a href=\"#Run-server\" class=\"headerlink\" title=\"Run server\"></a>Run server</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo server<br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/server.html\">Server</a></p>\n<h3 id=\"Generate-static-files\"><a href=\"#Generate-static-files\" class=\"headerlink\" title=\"Generate static files\"></a>Generate static files</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo generate<br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/generating.html\">Generating</a></p>\n<h3 id=\"Deploy-to-remote-sites\"><a href=\"#Deploy-to-remote-sites\" class=\"headerlink\" title=\"Deploy to remote sites\"></a>Deploy to remote sites</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo deploy<br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/one-command-deployment.html\">Deployment</a></p>\n"},{"title":"tmp","url":"/2024/09/22/tmp/","content":"<h1 id=\"搞不懂\"><a href=\"#搞不懂\" class=\"headerlink\" title=\"搞不懂\"></a>搞不懂</h1><p>啦啦啦</p>\n"},{"title":"20240923","url":"/2024/09/23/20240923/","content":"<h1 id=\"小总结\"><a href=\"#小总结\" class=\"headerlink\" title=\"小总结\"></a>小总结</h1><p>开局首绷:答案字符串不写换行,属于是一点竞赛记忆都不剩了。</p>\n<p>不过正好,从头学起,把之前拉下的全补牢。</p>\n<p>然后学习一下牛顿迭代,挺好写,爱写。</p>\n<p>代码如下:</p>\n<figure class=\"highlight cpp\"><table><tr><td class=\"code\"><pre><code class=\"hljs cpp\"><span class=\"hljs-function\"><span class=\"hljs-type\">double</span> <span class=\"hljs-title\">f</span><span class=\"hljs-params\">(<span class=\"hljs-type\">double</span> x)</span><span class=\"hljs-comment\">//some function</span></span><br><span class=\"hljs-function\"><span class=\"hljs-type\">double</span> <span class=\"hljs-title\">df</span><span class=\"hljs-params\">(<span class=\"hljs-type\">double</span> x)</span> <span class=\"hljs-comment\">//the derivative of the function</span></span><br><span class=\"hljs-function\"><span class=\"hljs-type\">double</span> <span class=\"hljs-title\">newtonIterate</span><span class=\"hljs-params\">(<span class=\"hljs-type\">double</span> eps=<span class=\"hljs-number\">1e-7</span>,<span class=\"hljs-type\">int</span> maxIt)</span></span><br><span class=\"hljs-function\"></span>{<br> <span class=\"hljs-type\">double</span> curr = <span class=\"hljs-number\">1.0</span>;<br> <span class=\"hljs-keyword\">for</span>(<span class=\"hljs-type\">int</span> i = <span class=\"hljs-number\">1</span>;i<=maxIt;++i)<br> {<br> <span class=\"hljs-type\">double</span> fx = <span class=\"hljs-built_in\">f</span>(curr);<br> <span class=\"hljs-keyword\">if</span>(<span class=\"hljs-built_in\">abs</span>(fx)<eps)<br> <span class=\"hljs-keyword\">return</span> curr;<br> <span class=\"hljs-type\">double</span> dfx=<span class=\"hljs-built_in\">df</span>(curr)<br> <span class=\"hljs-keyword\">if</span>(dfx==<span class=\"hljs-number\">0</span>)<br> <span class=\"hljs-keyword\">return</span> <span class=\"hljs-number\">-1</span>;<br> curr-=fx/dfx;<br> }<br> <span class=\"hljs-keyword\">return</span> <span class=\"hljs-number\">-1</span>;<br>}<br></code></pre></td></tr></table></figure>\n\n<ul>\n<li>基本思想:</li>\n<li>不断做切线,其与x轴相交的点x1一定比原来的点x0离零点更近,故可以不断逼近,得到所需精度的答案。</li>\n</ul>\n","tags":["日志"]},{"title":"20240926","url":"/2024/09/26/20240926/","content":"<h2 id=\"总结\"><a href=\"#总结\" class=\"headerlink\" title=\"总结\"></a>总结</h2><p>今天到19:47只写了三道题,小问题属于是一点敏感度都没有。</p>\n<p>先是一道贪心因为神奇的原因没做出来。</p>\n<p>然后是优先队列可能多次取都没注意到。</p>\n<p>服了。</p>\n<p>但是上午还是把多项式理论往后推进了一些,该整整数学分析了。</p>\n","tags":["总结"]},{"title":"note-weblab-w0","url":"/2024/09/30/note-weblab-w0/","content":"<p>‘flex’ 中,默认行排布 </p>\n<p>使用 ‘flex-grow’ 控制单元大小</p>\n","tags":["前端"]}] | ||
[{"title":"20240922","url":"/2024/09/22/20240922/","content":"<h1 id=\"回归辣\"><a href=\"#回归辣\" class=\"headerlink\" title=\"回归辣\"></a>回归辣</h1><h2 id=\"昨日总结\"><a href=\"#昨日总结\" class=\"headerlink\" title=\"昨日总结\"></a>昨日总结</h2><p>给昨天先做一下总结</p>\n<ol>\n<li>骑车到达尖岭沙滩,闻到了海的味道,舒服。</li>\n<li>重建了博客,今后要多写多总结</li>\n<li>复建CF,但是发现自己好菜啊。 另: 不开<code>long long</code> 见祖宗</li>\n<li>早上看了看丘维声的高等代数。这才是好的大学老师的模样啊!</li>\n</ol>\n<p>大概就是这些了,今日事件晚上再更新。</p>\n<p>下面是一些图片:</p>\n<p><img src=\"/2024/09/22/20240922/cows.jpg\" alt=\"牛\"><br><img src=\"/2024/09/22/20240922/sea.jpg\" alt=\"海\"><br><img src=\"/2024/09/22/20240922/chair.jpg\" alt=\"椅\"><br><img src=\"/2024/09/22/20240922/sea.jpg\" alt=\"花\"></p>\n"},{"title":"Hello World","url":"/2024/09/21/hello-world/","content":"<p>Welcome to <a href=\"https://hexo.io/\">Hexo</a>! This is your very first post. Check <a href=\"https://hexo.io/docs/\">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href=\"https://hexo.io/docs/troubleshooting.html\">troubleshooting</a> or you can ask me on <a href=\"https://github.com/hexojs/hexo/issues\">GitHub</a>.</p>\n<h2 id=\"Quick-Start\"><a href=\"#Quick-Start\" class=\"headerlink\" title=\"Quick Start\"></a>Quick Start</h2><h3 id=\"Create-a-new-post\"><a href=\"#Create-a-new-post\" class=\"headerlink\" title=\"Create a new post\"></a>Create a new post</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo new <span class=\"hljs-string\">"My New Post"</span><br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/writing.html\">Writing</a></p>\n<h3 id=\"Run-server\"><a href=\"#Run-server\" class=\"headerlink\" title=\"Run server\"></a>Run server</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo server<br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/server.html\">Server</a></p>\n<h3 id=\"Generate-static-files\"><a href=\"#Generate-static-files\" class=\"headerlink\" title=\"Generate static files\"></a>Generate static files</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo generate<br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/generating.html\">Generating</a></p>\n<h3 id=\"Deploy-to-remote-sites\"><a href=\"#Deploy-to-remote-sites\" class=\"headerlink\" title=\"Deploy to remote sites\"></a>Deploy to remote sites</h3><figure class=\"highlight bash\"><table><tr><td class=\"code\"><pre><code class=\"hljs bash\">$ hexo deploy<br></code></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/one-command-deployment.html\">Deployment</a></p>\n"},{"title":"tmp","url":"/2024/09/22/tmp/","content":"<h1 id=\"搞不懂\"><a href=\"#搞不懂\" class=\"headerlink\" title=\"搞不懂\"></a>搞不懂</h1><p>啦啦啦</p>\n"},{"title":"20240923","url":"/2024/09/23/20240923/","content":"<h1 id=\"小总结\"><a href=\"#小总结\" class=\"headerlink\" title=\"小总结\"></a>小总结</h1><p>开局首绷:答案字符串不写换行,属于是一点竞赛记忆都不剩了。</p>\n<p>不过正好,从头学起,把之前拉下的全补牢。</p>\n<p>然后学习一下牛顿迭代,挺好写,爱写。</p>\n<p>代码如下:</p>\n<figure class=\"highlight cpp\"><table><tr><td class=\"code\"><pre><code class=\"hljs cpp\"><span class=\"hljs-function\"><span class=\"hljs-type\">double</span> <span class=\"hljs-title\">f</span><span class=\"hljs-params\">(<span class=\"hljs-type\">double</span> x)</span><span class=\"hljs-comment\">//some function</span></span><br><span class=\"hljs-function\"><span class=\"hljs-type\">double</span> <span class=\"hljs-title\">df</span><span class=\"hljs-params\">(<span class=\"hljs-type\">double</span> x)</span> <span class=\"hljs-comment\">//the derivative of the function</span></span><br><span class=\"hljs-function\"><span class=\"hljs-type\">double</span> <span class=\"hljs-title\">newtonIterate</span><span class=\"hljs-params\">(<span class=\"hljs-type\">double</span> eps=<span class=\"hljs-number\">1e-7</span>,<span class=\"hljs-type\">int</span> maxIt)</span></span><br><span class=\"hljs-function\"></span>{<br> <span class=\"hljs-type\">double</span> curr = <span class=\"hljs-number\">1.0</span>;<br> <span class=\"hljs-keyword\">for</span>(<span class=\"hljs-type\">int</span> i = <span class=\"hljs-number\">1</span>;i<=maxIt;++i)<br> {<br> <span class=\"hljs-type\">double</span> fx = <span class=\"hljs-built_in\">f</span>(curr);<br> <span class=\"hljs-keyword\">if</span>(<span class=\"hljs-built_in\">abs</span>(fx)<eps)<br> <span class=\"hljs-keyword\">return</span> curr;<br> <span class=\"hljs-type\">double</span> dfx=<span class=\"hljs-built_in\">df</span>(curr)<br> <span class=\"hljs-keyword\">if</span>(dfx==<span class=\"hljs-number\">0</span>)<br> <span class=\"hljs-keyword\">return</span> <span class=\"hljs-number\">-1</span>;<br> curr-=fx/dfx;<br> }<br> <span class=\"hljs-keyword\">return</span> <span class=\"hljs-number\">-1</span>;<br>}<br></code></pre></td></tr></table></figure>\n\n<ul>\n<li>基本思想:</li>\n<li>不断做切线,其与x轴相交的点x1一定比原来的点x0离零点更近,故可以不断逼近,得到所需精度的答案。</li>\n</ul>\n","tags":["日志"]},{"title":"20240926","url":"/2024/09/26/20240926/","content":"<h2 id=\"总结\"><a href=\"#总结\" class=\"headerlink\" title=\"总结\"></a>总结</h2><p>今天到19:47只写了三道题,小问题属于是一点敏感度都没有。</p>\n<p>先是一道贪心因为神奇的原因没做出来。</p>\n<p>然后是优先队列可能多次取都没注意到。</p>\n<p>服了。</p>\n<p>但是上午还是把多项式理论往后推进了一些,该整整数学分析了。</p>\n","tags":["总结"]},{"title":"note-weblab-w0","url":"/2024/09/30/note-weblab-w0/","content":"<h2 id=\"总结\"><a href=\"#总结\" class=\"headerlink\" title=\"总结\"></a>总结</h2><ol>\n<li><p><code>flex</code> 中,默认使用行排布</p>\n</li>\n<li><p><code>flex-grow</code> 控制单元大小</p>\n</li>\n<li><p>清除计时器需要给 <code>setInterval</code>一个名字(<code>let sth = setInterval(func,time)</code>)</p>\n</li>\n</ol>\n","tags":["前端"]}] |