|
|
|
@ -11,6 +11,7 @@ |
|
|
|
<link rel="mask-icon" href="/images/logo.svg" color="#222"> |
|
|
|
<meta name="google-site-verification" content="2X6S9P7CAjXjVvw8YyQR8pCu-B0oEu7O9quLgxXuWyA"> |
|
|
|
<meta name="baidu-site-verification" content="dV8JGNzi0c"> |
|
|
|
<meta name="chinaz-site-verification" content="500A176AA29CFB31"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="/css/main.css"> |
|
|
|
|
|
|
|
@ -54,7 +55,7 @@ |
|
|
|
<meta name="description" content="learn from zero,技术博客,Nicksxs,史学森"> |
|
|
|
<meta property="og:type" content="website"> |
|
|
|
<meta property="og:title" content="Nicksxs's Blog"> |
|
|
|
<meta property="og:url" content="https://nicksxs.me/tags/c/index.html"> |
|
|
|
<meta property="og:url" content="https://nicksxs.me/tags/C/index.html"> |
|
|
|
<meta property="og:site_name" content="Nicksxs's Blog"> |
|
|
|
<meta property="og:description" content="learn from zero,技术博客,Nicksxs,史学森"> |
|
|
|
<meta property="article:author" content="Nicksxs"> |
|
|
|
@ -65,7 +66,7 @@ |
|
|
|
<meta property="article:tag" content="森哥"> |
|
|
|
<meta name="twitter:card" content="summary"> |
|
|
|
|
|
|
|
<link rel="canonical" href="https://nicksxs.me/tags/c/"> |
|
|
|
<link rel="canonical" href="https://nicksxs.me/tags/C/"> |
|
|
|
|
|
|
|
|
|
|
|
<script id="page-configurations"> |
|
|
|
@ -77,7 +78,7 @@ |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
<title>Tag: c++ | Nicksxs's Blog</title> |
|
|
|
<title>Tag: C | Nicksxs's Blog</title> |
|
|
|
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-61358619-1"></script> |
|
|
|
<script> |
|
|
|
@ -224,14 +225,14 @@ |
|
|
|
<div class="post-block"> |
|
|
|
<div class="posts-collapse"> |
|
|
|
<div class="collection-title"> |
|
|
|
<h1 class="collection-header">c++ |
|
|
|
<h1 class="collection-header">C |
|
|
|
<small>Tag</small> |
|
|
|
</h1> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="collection-year"> |
|
|
|
<h1 class="collection-header">2016</h1> |
|
|
|
<h1 class="collection-header">2019</h1> |
|
|
|
</div> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
@ -239,198 +240,15 @@ |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2016-10-12T23:25:17+08:00" |
|
|
|
content="2016-10-12"> |
|
|
|
10-12 |
|
|
|
datetime="2019-12-10T23:26:26+08:00" |
|
|
|
content="2019-12-10"> |
|
|
|
12-10 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2016/10/12/summary-ranges-228/" itemprop="url"> |
|
|
|
<span itemprop="name">summary-ranges-228</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2016-10-11T22:04:28+08:00" |
|
|
|
content="2016-10-11"> |
|
|
|
10-11 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2016/10/11/minimum-size-subarray-sum-209/" itemprop="url"> |
|
|
|
<span itemprop="name">minimum-size-subarray-sum-209</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2016-09-29T23:16:06+08:00" |
|
|
|
content="2016-09-29"> |
|
|
|
09-29 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2016/09/29/binary-watch/" itemprop="url"> |
|
|
|
<span itemprop="name">binary-watch</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2016-08-14T21:33:24+08:00" |
|
|
|
content="2016-08-14"> |
|
|
|
08-14 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2016/08/14/34-Search-for-a-Range/" itemprop="url"> |
|
|
|
<span itemprop="name">34_Search_for_a_Range</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
<div class="collection-year"> |
|
|
|
<h1 class="collection-header">2015</h1> |
|
|
|
</div> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2015-06-22T10:29:44+08:00" |
|
|
|
content="2015-06-22"> |
|
|
|
06-22 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2015/06/22/invert-binary-tree/" itemprop="url"> |
|
|
|
<span itemprop="name">invert-binary-tree</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2015-04-15T13:49:00+08:00" |
|
|
|
content="2015-04-15"> |
|
|
|
04-15 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2015/04/15/Leetcode-No-3/" itemprop="url"> |
|
|
|
<span itemprop="name">leetcode no.3</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2015-04-14T17:40:10+08:00" |
|
|
|
content="2015-04-14"> |
|
|
|
04-14 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2015/04/14/Add-Two-Number/" itemprop="url"> |
|
|
|
<span itemprop="name">add-two-number</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2015-03-13T17:22:20+08:00" |
|
|
|
content="2015-03-13"> |
|
|
|
03-13 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2015/03/13/Reverse-Integer/" itemprop="url"> |
|
|
|
<span itemprop="name">Reverse Integer</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2015-03-11T17:35:20+08:00" |
|
|
|
content="2015-03-11"> |
|
|
|
03-11 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2015/03/11/Reverse-Bits/" itemprop="url"> |
|
|
|
<span itemprop="name">Reverse Bits</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
</header> |
|
|
|
</article> |
|
|
|
|
|
|
|
<article itemscope itemtype="http://schema.org/Article"> |
|
|
|
<header class="post-header"> |
|
|
|
|
|
|
|
<div class="post-meta"> |
|
|
|
<time itemprop="dateCreated" |
|
|
|
datetime="2015-03-11T17:02:58+08:00" |
|
|
|
content="2015-03-11"> |
|
|
|
03-11 |
|
|
|
</time> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h2 class="post-title"> |
|
|
|
<a class="post-title-link" href="/2015/03/11/Number-Of-1-Bits/" itemprop="url"> |
|
|
|
<span itemprop="name">Number of 1 Bits</span> |
|
|
|
<a class="post-title-link" href="/2019/12/10/Redis-Part-1/" itemprop="url"> |
|
|
|
<span itemprop="name">Redis_分布式锁</span> |
|
|
|
</a> |
|
|
|
</h2> |
|
|
|
|
|
|
|
@ -444,9 +262,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<nav class="pagination"> |
|
|
|
<span class="page-number current">1</span><a class="page-number" href="/tags/c/page/2/">2</a><a class="extend next" rel="next" href="/tags/c/page/2/"><i class="fa fa-angle-right" aria-label="Next page"></i></a> |
|
|
|
</nav> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -671,6 +486,150 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="//cdn.jsdelivr.net/npm/quicklink@1/dist/quicklink.umd.js"></script> |
|
|
|
<script> |
|
|
|
window.addEventListener('load', () => { |
|
|
|
quicklink({ |
|
|
|
timeout: 3000, |
|
|
|
priority: true, |
|
|
|
ignores: [uri => uri.includes('#'),uri => uri == 'https://nicksxs.me/tags/C/',] |
|
|
|
}); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
|
|
|
|
<script> |
|
|
|
function loadCount() { |
|
|
|
var d = document, s = d.createElement('script'); |
|
|
|
s.src = 'https://nicksxs.disqus.com/count.js'; |
|
|
|
s.id = 'dsq-count-scr'; |
|
|
|
(d.head || d.body).appendChild(s); |
|
|
|
} |
|
|
|
// defer loading until the whole page loading is completed |
|
|
|
window.addEventListener('load', loadCount, false); |
|
|
|
</script> |
|
|
|
|
|
|
|
</body> |
|
|
|
</html> |
|
|
|
t-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/spark/" rel="tag">spark</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/swoole/" rel="tag">swoole</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/websocket/" rel="tag">websocket</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%88%86%E5%B8%83%E5%BC%8F%E9%94%81/" rel="tag">分布式锁</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%8D%95%E4%BE%8B/" rel="tag">单例</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%8D%9A%E5%AE%A2%EF%BC%8C%E6%96%87%E7%AB%A0/" rel="tag">博客,文章</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" rel="tag">数据结构</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%BA%90%E7%A0%81/" rel="tag">源码</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/" rel="tag">设计模式</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%AF%BB%E5%90%8E%E6%84%9F/" rel="tag">读后感</a><span class="tag-list-count">1</span></li></ul> |
|
|
|
</canvas> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="links-of-blogroll motion-element"> |
|
|
|
<div class="links-of-blogroll-title"> |
|
|
|
<i class="fa fa-fw fa-link"></i> |
|
|
|
Links |
|
|
|
</div> |
|
|
|
<ul class="links-of-blogroll-list"> |
|
|
|
<li class="links-of-blogroll-item"> |
|
|
|
<a href="http://www.zipperary.com/" title="http://www.zipperary.com/" rel="noopener" target="_blank">Zippera's blog</a> |
|
|
|
</li> |
|
|
|
<li class="links-of-blogroll-item"> |
|
|
|
<a href="http://x20a.xyz/" title="http://x20a.xyz/" rel="noopener" target="_blank">Freedom</a> |
|
|
|
</li> |
|
|
|
<li class="links-of-blogroll-item"> |
|
|
|
<a href="http://samuel.group/" title="http://samuel.group/" rel="noopener" target="_blank">sfwtt</a> |
|
|
|
</li> |
|
|
|
<li class="links-of-blogroll-item"> |
|
|
|
<a href="http://blog.leanote.com/buru" title="http://blog.leanote.com/buru" rel="noopener" target="_blank">bruce</a> |
|
|
|
</li> |
|
|
|
<li class="links-of-blogroll-item"> |
|
|
|
<a href="http://m2shad0w.com/" title="http://m2shad0w.com/" rel="noopener" target="_blank">m2shad0w</a> |
|
|
|
</li> |
|
|
|
<li class="links-of-blogroll-item"> |
|
|
|
<a href="http://www.programcat.com/" title="http://www.programcat.com" rel="noopener" target="_blank">程序喵的厨房</a> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</aside> |
|
|
|
<div id="sidebar-dimmer"></div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</main> |
|
|
|
|
|
|
|
<footer class="footer"> |
|
|
|
<div class="footer-inner"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="copyright"> |
|
|
|
|
|
|
|
© |
|
|
|
<span itemprop="copyrightYear">2020</span> |
|
|
|
<span class="with-love"> |
|
|
|
<i class="fa fa-user"></i> |
|
|
|
</span> |
|
|
|
<span class="author" itemprop="copyrightHolder">Nicksxs</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</footer> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<script src="/lib/anime.min.js"></script> |
|
|
|
<script src="//cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js"></script> |
|
|
|
<script src="//cdn.jsdelivr.net/gh/fancyapps/fancybox@3/dist/jquery.fancybox.min.js"></script> |
|
|
|
<script src="//cdn.jsdelivr.net/npm/lozad@1/dist/lozad.min.js"></script> |
|
|
|
<script src="/lib/velocity/velocity.min.js"></script> |
|
|
|
<script src="/lib/velocity/velocity.ui.min.js"></script> |
|
|
|
|
|
|
|
<script src="/js/utils.js"></script> |
|
|
|
|
|
|
|
<script src="/js/motion.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
<script src="/js/schemes/pisces.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
<script src="/js/next-boot.js"></script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
(function(){ |
|
|
|
var bp = document.createElement('script'); |
|
|
|
var curProtocol = window.location.protocol.split(':')[0]; |
|
|
|
bp.src = (curProtocol === 'https') ? 'https://zz.bdstatic.com/linksubmit/push.js' : 'http://push.zhanzhang.baidu.com/push.js'; |
|
|
|
var s = document.getElementsByTagName("script")[0]; |
|
|
|
s.parentNode.insertBefore(bp, s); |
|
|
|
})(); |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="//cdn.jsdelivr.net/npm/quicklink@1/dist/quicklink.umd.js"></script> |
|
|
|
<script> |
|
|
|
window.addEventListener('load', () => { |
|
|
|
|