1616< meta property ="og:description "content ="树的遍历题意:给出谱系图(多叉树),求最多孩子的那一层的深度和宽度。 DFS遍历,记录每层的宽度,找最大的那个即可也可以用BFS做 12345678910111213141516171819202122232425262728293031323334353637383940414243444546#include <bits/stdc++.h>using namespace std;c ">
1717< meta property ="og:locale "content ="en_US ">
1818< meta property ="article:published_time "content ="2020-03-02T03:50:29.787Z ">
19- < meta property ="article:modified_time "content ="2020-03-05T03:44:07.840Z ">
19+ < meta property ="article:modified_time "content ="2020-03-20T13:29:56.324Z ">
2020< meta property ="article:author "content ="bfx ">
21- < meta property ="article:tag "content ="后端 ">
22- < meta property ="article:tag "content ="java ">
23- < meta property ="article:tag "content ="c++ ">
24- < meta property ="article:tag "content ="python ">
25- < meta property ="article:tag "content ="开发者 ">
26- < meta property ="article:tag "content ="程序猿 ">
27- < meta property ="article:tag "content ="极客 ">
28- < meta property ="article:tag "content ="编程 ">
29- < meta property ="article:tag "content ="代码 ">
30- < meta property ="article:tag "content ="开源 ">
31- < meta property ="article:tag "content ="Developer ">
32- < meta property ="article:tag "content ="Programmer ">
33- < meta property ="article:tag "content ="Coder ">
34- < meta property ="article:tag "content ="Geek ">
35- < meta property ="article:tag "content ="java ">
36- < meta property ="article:tag "content ="c++ ">
37- < meta property ="article:tag "content ="python ">
38- < meta property ="article:tag "content ="spring ">
39- < meta property ="article:tag "content ="spring boot ">
21+ < meta property ="article:tag "content ="PAT刷题记录 ">
4022< meta name ="twitter:card "content ="summary ">
4123
4224< link rel ="alternative "href ="/atom.xml "title ="鲍锋雄的博客 "type ="application/atom+xml ">
@@ -80,6 +62,8 @@ <h1 class="header-author"><a href="/">bfx</a></h1>
8062
8163< li > < a href ="/tags/%E9%9A%8F%E7%AC%94/ "> 随笔</ a > </ li >
8264
65+ < li > < a href ="/photos "> 相册</ a > </ li >
66+
8367</ ul >
8468</ nav >
8569< nav class ="header-smart-menu ">
@@ -100,7 +84,7 @@ <h1 class="header-author"><a href="/">bfx</a></h1>
10084< nav class ="header-nav ">
10185< div class ="social ">
10286
103- < a class ="github "target ="_blank "href ="# "title ="github "> < i class ="icon-github "> </ i > </ a >
87+ < a class ="github "target ="_blank "href ="https://github.com/tony-coder "title ="github "> < i class ="icon-github "> </ i > </ a >
10488
10589< a class ="weibo "target ="_blank "href ="# "title ="weibo "> < i class ="icon-weibo "> </ i > </ a >
10690
@@ -136,12 +120,14 @@ <h1 class="header-author js-header-author">bfx</h1>
136120
137121
138122
123+
124+
139125
140126
141127< nav class ="header-nav ">
142128< div class ="social ">
143129
144- < a class ="github "target ="_blank "href ="# "title ="github "> < i class ="icon-github "> </ i > </ a >
130+ < a class ="github "target ="_blank "href ="https://github.com/tony-coder "title ="github "> < i class ="icon-github "> </ i > </ a >
145131
146132< a class ="weibo "target ="_blank "href ="# "title ="weibo "> < i class ="icon-weibo "> </ i > </ a >
147133
@@ -153,12 +139,14 @@ <h1 class="header-author js-header-author">bfx</h1>
153139</ nav >
154140
155141< nav class ="header-menu js-header-menu ">
156- < ul style ="width:50 % ">
142+ < ul style ="width:70 % ">
157143
158144
159- < li style ="width:50 % "> < a href ="/ "> 主页</ a > </ li >
145+ < li style ="width:33.333333333333336 % "> < a href ="/ "> 主页</ a > </ li >
160146
161- < li style ="width: 50% "> < a href ="/tags/%E9%9A%8F%E7%AC%94/ "> 随笔</ a > </ li >
147+ < li style ="width: 33.333333333333336% "> < a href ="/tags/%E9%9A%8F%E7%AC%94/ "> 随笔</ a > </ li >
148+
149+ < li style ="width: 33.333333333333336% "> < a href ="/photos "> 相册</ a > </ li >
162150
163151</ ul >
164152</ nav >
@@ -225,6 +213,17 @@ <h1 class="article-title" itemprop="name">
225213< div class ="article-info article-info-index ">
226214
227215
216+ < div class ="article-tag tagcloud ">
217+ < i class ="icon-price-tags icon "> </ i >
218+ < ul class ="article-tag-list ">
219+
220+ < li class ="article-tag-list-item ">
221+ < a href ="#"diff-0085a48ba344124caecccf861f36e6cfe962453dfff060560693900d5c0f33eb-227-222-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
222+ </ li >
223+
224+ </ ul >
225+ </ div >
226+
228227
229228
230229
@@ -424,6 +423,30 @@ <h1 class="article-title" itemprop="name">
424423< input type ="checkbox "q-on ="click:toggleTag(e) "q-attr ="checked:showTags ">
425424</ label >
426425< ul class ="article-tag-list "q-show ="showTags ">
426+
427+ < li class ="article-tag-list-item ">
428+ < a href ="#"diff-0085a48ba344124caecccf861f36e6cfe962453dfff060560693900d5c0f33eb-426-429-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
429+ </ li >
430+
431+ < li class ="article-tag-list-item ">
432+ < a href ="#"diff-0085a48ba344124caecccf861f36e6cfe962453dfff060560693900d5c0f33eb-426-433-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
433+ </ li >
434+
435+ < li class ="article-tag-list-item ">
436+ < a href ="#"diff-0085a48ba344124caecccf861f36e6cfe962453dfff060560693900d5c0f33eb-426-437-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
437+ </ li >
438+
439+ < li class ="article-tag-list-item ">
440+ < a href ="#"diff-0085a48ba344124caecccf861f36e6cfe962453dfff060560693900d5c0f33eb-426-441-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
441+ </ li >
442+
443+ < li class ="article-tag-list-item ">
444+ < a href ="#"diff-0085a48ba344124caecccf861f36e6cfe962453dfff060560693900d5c0f33eb-426-445-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
445+ </ li >
446+
447+ < li class ="article-tag-list-item ">
448+ < a href ="#"diff-0085a48ba344124caecccf861f36e6cfe962453dfff060560693900d5c0f33eb-426-449-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
449+ </ li >
427450
428451< div class ="clearfix "> </ div >
429452</ ul >
@@ -474,27 +497,11 @@ <h1 class="article-title" itemprop="name">
474497< ul class ="search-ul ">
475498
476499< li class ="search-li ">
477- < a href ="http://localhost:4000/ "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > 友情链接1</ a >
478- </ li >
479-
480- < li class ="search-li ">
481- < a href ="http://localhost:4000/ "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > 友情链接2</ a >
482- </ li >
483-
484- < li class ="search-li ">
485- < a href ="http://localhost:4000/ "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > 友情链接3</ a >
486- </ li >
487-
488- < li class ="search-li ">
489- < a href ="http://localhost:4000/ "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > 友情链接4</ a >
490- </ li >
491-
492- < li class ="search-li ">
493- < a href ="http://localhost:4000/ "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > 友情链接5</ a >
500+ < a href ="https://github.com/tony-coder "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > GitHub</ a >
494501</ li >
495502
496503< li class ="search-li ">
497- < a href ="http ://localhost:4000/ "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > 友情链接6 </ a >
504+ < a href ="https ://blog.csdn.net/weixin_42023723 "target ="_blank "class ="search-title "> < i class ="icon-quo-left icon "> </ i > CSDN </ a >
498505</ li >
499506
500507</ ul >