web analytics

[ULOJ23] 天黑黑 栈

题目链接:http://www.wlmqyz.com:81/problem/23

分析:

刚开始拿到题一心想着建树。

虽然建树不现实,但是二叉树的性质是有的。

于是乎我们不关心怎么排列。

我们应该关注有多少数是存在。

A的性质是两个数都存在。

B的性质是只存在一个数。

所以算出多少数是存在的。

然后从大到小一遍求和就好了。

 

88 Trackbacks

  1. By new balance running shoes on 四月 24, 2018 at 1:26 下午

    new balance running shoes

    Draft of the same year on the bottom rookie will be what?In general the draft should be able to blow the other party, who would have thought them took Owen on the 60th pick small Thomas in the same year, he turned out to be in the position of the chall…

  2. By nmd human race on 四月 24, 2018 at 1:27 下午

    nmd human race

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  3. By adidas zx flux on 四月 24, 2018 at 1:27 下午

    adidas zx flux

    For Jordan and gregg popovich comments James never hit back, but just yesterday in the knight's basketball stadium set aside a James training video, far look like illusions emerged both Owen, a carefully look just know is James

  4. By adidas porsche on 四月 24, 2018 at 1:28 下午

    adidas porsche

    Yesterday, the wall on the right side 45 live a miserable life in the three points must win.The shooting location is Owen puts up the location of the many times.Today was asked Owen saw wall dead there is what feeling

  5. By stephen curry shoes on 四月 24, 2018 at 1:28 下午

    stephen curry shoes

    "I don't think eastern conference finals will be a long war, knight's strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.

  6. By lebron soldier 10 on 四月 24, 2018 at 1:28 下午

    lebron soldier 10

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  7. By Nike lebron soldier 11 on 四月 24, 2018 at 1:29 下午

    Nike lebron soldier 11

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  8. By nike zoom vaporfly elite on 四月 24, 2018 at 1:29 下午

    nike zoom vaporfly elite

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  9. By adidas pure boost on 四月 24, 2018 at 1:29 下午

    adidas pure boost

    Draft of the same year on the bottom rookie will be what?In general the draft should be able to blow the other party, who would have thought them took Owen on the 60th pick small Thomas in the same year, he turned out to be in the position of the chall…

  10. By adidas yeezy boost on 四月 24, 2018 at 1:30 下午

    adidas yeezy boost

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  11. By curry 2 on 四月 24, 2018 at 1:30 下午

    curry 2

    For Jordan and gregg popovich comments James never hit back, but just yesterday in the knight's basketball stadium set aside a James training video, far look like illusions emerged both Owen, a carefully look just know is James

  12. By nike air vapormax on 四月 24, 2018 at 1:30 下午

    nike air vapormax

    Obviously, the right to occupy a team-high 21.6 shots of Michael Owen, but failed to hit as James scores, this let a person feel, Owen has become a "cancer" of the knight.But many fans also feel,

  13. By kyrie 4 on 四月 24, 2018 at 1:31 下午

    kyrie 4

    The noises and stressful the playoffs."We are eager to match."Owen said.Knight should first game will be on Thursday in east, and before them

  14. By Adidas Apparel on 四月 24, 2018 at 1:31 下午

    Adidas Apparel

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  15. By nike air max 270 on 四月 24, 2018 at 1:32 下午

    nike air max 270

    The noises and stressful the playoffs."We are eager to match."Owen said.Knight should first game will be on Thursday in east, and before them

  16. By adidas nmd womens on 四月 24, 2018 at 1:32 下午

    adidas nmd womens

    Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down…

  17. By Nike CR7 on 四月 24, 2018 at 1:32 下午

    Nike CR7

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  18. By nike pg 2 on 四月 24, 2018 at 1:33 下午

    nike pg 2

    With three points to beat John wall, the day before yesterday the wizards will competition into the tiebreak wars, 8:00 tomorrow the wizards will be tie-break at Celtic and rival.

  19. By jordan 32 on 四月 24, 2018 at 1:33 下午

    jordan 32

    Obviously, the right to occupy a team-high 21.6 shots of Michael Owen, but failed to hit as James scores, this let a person feel, Owen has become a "cancer" of the knight.But many fans also feel,

  20. By stephen curry shoes on 四月 24, 2018 at 1:34 下午

    stephen curry shoes

    Yesterday, the wall on the right side 45 live a miserable life in the three points must win.The shooting location is Owen puts up the location of the many times.Today was asked Owen saw wall dead there is what feeling

  21. By lebron 14 on 四月 24, 2018 at 1:34 下午

    lebron 14

    Knight finally written pledge to fulfill a military order!Owen Jefferson suspected the contradiction, huang zhan anger: don't win playoff team and the team retired showdown between the more and more intense, will the rockets in just eliminated the spu…

  22. By lebron james shoes on 四月 24, 2018 at 1:34 下午

    lebron james shoes

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  23. By kyrie 4 confetti on 四月 24, 2018 at 1:35 下午

    kyrie 4 confetti

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  24. By nike huarache on 四月 24, 2018 at 1:35 下午

    nike huarache

    The noises and stressful the playoffs."We are eager to match."Owen said.Knight should first game will be on Thursday in east, and before them

  25. By hyperdunk 2017 on 四月 24, 2018 at 1:36 下午

    hyperdunk 2017

    Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down…

  26. By ugg 5815 on 四月 24, 2018 at 1:36 下午

    ugg 5815

    The NBA playoffs now for today, have determined the warriors in the western conference and will compete for a spot in the finals quota, knight still don't know who his opponent was.However, even in the face of the celtics or the wizards, presumably kn…

  27. By birkenstock shoes on 四月 24, 2018 at 1:36 下午

    birkenstock shoes

    Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down…

  28. By curry 3 shoes on 四月 24, 2018 at 1:37 下午

    curry 3 shoes

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  29. By adidas ax2 on 四月 24, 2018 at 1:37 下午

    adidas ax2

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  30. By kyrie irving shoes on 四月 24, 2018 at 1:38 下午

    kyrie irving shoes

    Yesterday, the wall on the right side 45 live a miserable life in the three points must win.The shooting location is Owen puts up the location of the many times.Today was asked Owen saw wall dead there is what feeling

  31. By asics gel kayano 24 on 四月 24, 2018 at 1:38 下午

    asics gel kayano 24

    The noises and stressful the playoffs."We are eager to match."Owen said.Knight should first game will be on Thursday in east, and before them

  32. By adidas crazy explosive on 四月 24, 2018 at 1:39 下午

    adidas crazy explosive

    Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down…

  33. By adidas soccer cleats on 四月 24, 2018 at 1:39 下午

    adidas soccer cleats

    "I don't think eastern conference finals will be a long war, knight's strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.

  34. By kyrie 4 on 四月 24, 2018 at 1:39 下午

    kyrie 4

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  35. By adidas yeezy boost on 四月 24, 2018 at 1:40 下午

    adidas yeezy boost

    The NBA playoffs now for today, have determined the warriors in the western conference and will compete for a spot in the finals quota, knight still don't know who his opponent was.However, even in the face of the celtics or the wizards, presumably kn…

  36. By kyrie 2 on 四月 24, 2018 at 1:40 下午

    kyrie 2

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  37. By ultra boost on 四月 24, 2018 at 1:41 下午

    ultra boost

    "I don't think eastern conference finals will be a long war, knight's strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.

  38. By air jordan shoes on 四月 24, 2018 at 1:41 下午

    air jordan shoes

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  39. By calvin klein on 四月 24, 2018 at 1:41 下午

    calvin klein

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  40. By stephen curry jersey on 四月 24, 2018 at 1:42 下午

    stephen curry jersey

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  41. By yeezy boost on 四月 24, 2018 at 1:42 下午

    yeezy boost

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  42. By stephen curry shoes on 四月 24, 2018 at 1:42 下午

    stephen curry shoes

    The NBA playoffs now for today, have determined the warriors in the western conference and will compete for a spot in the finals quota, knight still don't know who his opponent was.However, even in the face of the celtics or the wizards, presumably kn…

  43. By canada goose on 四月 24, 2018 at 1:43 下午

    canada goose

    Carey - Owen about injury of varese, said it happened out how knight players want to play games."I was about to enter a 5 on 5 game, but after three seconds, varese is injured

  44. By kyrie shoes on 四月 24, 2018 at 1:43 下午

    kyrie shoes

    "I don't think eastern conference finals will be a long war, knight's strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.

  45. By kyrie 1 on 四月 24, 2018 at 1:44 下午

    kyrie 1

    For Jordan and gregg popovich comments James never hit back, but just yesterday in the knight's basketball stadium set aside a James training video, far look like illusions emerged both Owen, a carefully look just know is James

  46. By lebron 15 on 四月 24, 2018 at 1:45 下午

    lebron 15

    "I don't think eastern conference finals will be a long war, knight's strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.

  47. By prada shoes on 四月 24, 2018 at 1:45 下午

    prada shoes

    The noises and stressful the playoffs."We are eager to match."Owen said.Knight should first game will be on Thursday in east, and before them

  48. By ultra boost 3.0 on 四月 24, 2018 at 1:45 下午

    ultra boost 3.0

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  49. By air jordan retro on 四月 24, 2018 at 1:46 下午

    air jordan retro

    Carey - Owen about injury of varese, said it happened out how knight players want to play games."I was about to enter a 5 on 5 game, but after three seconds, varese is injured

  50. By lebron 15 ashes on 四月 24, 2018 at 1:46 下午

    lebron 15 ashes

    "I don't think eastern conference finals will be a long war, knight's strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.

  51. By kyrie 3 on 四月 24, 2018 at 1:46 下午

    kyrie 3

    For Jordan and gregg popovich comments James never hit back, but just yesterday in the knight's basketball stadium set aside a James training video, far look like illusions emerged both Owen, a carefully look just know is James

  52. By rose 8 on 四月 24, 2018 at 1:47 下午

    rose 8

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  53. By nb shoes on 四月 24, 2018 at 1:47 下午

    nb shoes

    Obviously, the right to occupy a team-high 21.6 shots of Michael Owen, but failed to hit as James scores, this let a person feel, Owen has become a "cancer" of the knight.But many fans also feel,

  54. By kyrie irving shoes on 四月 24, 2018 at 1:47 下午

    kyrie irving shoes

    Knight finally written pledge to fulfill a military order!Owen Jefferson suspected the contradiction, huang zhan anger: don't win playoff team and the team retired showdown between the more and more intense, will the rockets in just eliminated the spu…

  55. By adidas eqt on 四月 24, 2018 at 1:48 下午

    adidas eqt

    For Jordan and gregg popovich comments James never hit back, but just yesterday in the knight's basketball stadium set aside a James training video, far look like illusions emerged both Owen, a carefully look just know is James

  56. By adidas tubular on 四月 24, 2018 at 1:48 下午

    adidas tubular

    Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down…

  57. By curry 3 on 四月 24, 2018 at 1:49 下午

    curry 3

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  58. By barbour jackets on 四月 24, 2018 at 1:49 下午

    barbour jackets

    With three points to beat John wall, the day before yesterday the wizards will competition into the tiebreak wars, 8:00 tomorrow the wizards will be tie-break at Celtic and rival.

  59. By nike vapormax on 四月 24, 2018 at 1:49 下午

    nike vapormax

    Yesterday, the wall on the right side 45 live a miserable life in the three points must win.The shooting location is Owen puts up the location of the many times.Today was asked Owen saw wall dead there is what feeling

  60. By adidas ultra boost on 四月 24, 2018 at 1:50 下午

    adidas ultra boost

    Obviously, the right to occupy a team-high 21.6 shots of Michael Owen, but failed to hit as James scores, this let a person feel, Owen has become a "cancer" of the knight.But many fans also feel,

  61. By nike air presto on 四月 24, 2018 at 1:50 下午

    nike air presto

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

  62. By nike air max 270 on 四月 24, 2018 at 1:51 下午

    nike air max 270

    With three points to beat John wall, the day before yesterday the wizards will competition into the tiebreak wars, 8:00 tomorrow the wizards will be tie-break at Celtic and rival.

  63. By adidas supreme yeezys on 四月 24, 2018 at 1:51 下午

    adidas supreme yeezys

    With three points to beat John wall, the day before yesterday the wizards will competition into the tiebreak wars, 8:00 tomorrow the wizards will be tie-break at Celtic and rival.

  64. By yeezy boost on 四月 24, 2018 at 1:51 下午

    yeezy boost

    For Jordan and gregg popovich comments James never hit back, but just yesterday in the knight's basketball stadium set aside a James training video, far look like illusions emerged both Owen, a carefully look just know is James

  65. By nike air more uptempo on 四月 24, 2018 at 1:51 下午

    nike air more uptempo

    Draft of the same year on the bottom rookie will be what?In general the draft should be able to blow the other party, who would have thought them took Owen on the 60th pick small Thomas in the same year, he turned out to be in the position of the chall…

  66. By Curry Shoes on 四月 24, 2018 at 1:52 下午

    Curry Shoes

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  67. By puma fenty on 四月 24, 2018 at 1:52 下午

    puma fenty

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  68. By lebron soldier 10 on 四月 24, 2018 at 1:53 下午

    lebron soldier 10

    With three points to beat John wall, the day before yesterday the wizards will competition into the tiebreak wars, 8:00 tomorrow the wizards will be tie-break at Celtic and rival.

  69. By balenciaga triple s on 四月 24, 2018 at 1:53 下午

    balenciaga triple s

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  70. By kyrie shoes on 四月 24, 2018 at 1:54 下午

    kyrie shoes

    For Jordan and gregg popovich comments James never hit back, but just yesterday in the knight's basketball stadium set aside a James training video, far look like illusions emerged both Owen, a carefully look just know is James

  71. By michael jordan shoes on 四月 24, 2018 at 1:55 下午

    michael jordan shoes

    Knight finally written pledge to fulfill a military order!Owen Jefferson suspected the contradiction, huang zhan anger: don't win playoff team and the team retired showdown between the more and more intense, will the rockets in just eliminated the spu…

  72. By nike sb dunk on 四月 24, 2018 at 1:55 下午

    nike sb dunk

    Knight finally written pledge to fulfill a military order!Owen Jefferson suspected the contradiction, huang zhan anger: don't win playoff team and the team retired showdown between the more and more intense, will the rockets in just eliminated the spu…

  73. By air max 90 on 四月 24, 2018 at 1:55 下午

    air max 90

    The noises and stressful the playoffs."We are eager to match."Owen said.Knight should first game will be on Thursday in east, and before them

  74. By adidas nmd xr1 on 四月 24, 2018 at 1:56 下午

    adidas nmd xr1

    Yesterday, the wall on the right side 45 live a miserable life in the three points must win.The shooting location is Owen puts up the location of the many times.Today was asked Owen saw wall dead there is what feeling

  75. By vans shoes on 四月 24, 2018 at 1:56 下午

    vans shoes

    Owen said: "Cleveland need game."Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight's eastern conference finals first time has pushed the next Wednesday.

  76. By kobe bryant jersey on 四月 24, 2018 at 1:57 下午

    kobe bryant jersey

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  77. By nike roshe run on 四月 24, 2018 at 1:57 下午

    nike roshe run

    "I don't think eastern conference finals will be a long war, knight's strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.

  78. By adidas ultra boost on 四月 24, 2018 at 1:57 下午

    adidas ultra boost

    Carey - Owen about injury of varese, said it happened out how knight players want to play games."I was about to enter a 5 on 5 game, but after three seconds, varese is injured

  79. By NMD R1 Shoes on 四月 24, 2018 at 1:58 下午

    NMD R1 Shoes

    Layup is a very basic basketball skills maybe everyone layup but there is a way of layup is not everyone that is wrong step layup.

  80. By kyrie 4 on 四月 24, 2018 at 1:58 下午

    kyrie 4

    NBA players in addition to playing badly, and also an art cells, for two consecutive years in the NBA finals two teams join forces with the warriors and knight, but only two dancers, two teams played neck and neck, dancing is close, take a look at

  81. By puma suede on 四月 24, 2018 at 1:59 下午

    puma suede

    Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down…

  82. By adidas yeezy on 四月 24, 2018 at 1:59 下午

    adidas yeezy

    Obviously, the right to occupy a team-high 21.6 shots of Michael Owen, but failed to hit as James scores, this let a person feel, Owen has become a "cancer" of the knight.But many fans also feel,

  83. By Lebron James Shoes on 四月 24, 2018 at 2:00 下午

    Lebron James Shoes

    Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down…

  84. By curry 4 shoes on 四月 24, 2018 at 2:00 下午

    curry 4 shoes

    Obviously, the right to occupy a team-high 21.6 shots of Michael Owen, but failed to hit as James scores, this let a person feel, Owen has become a "cancer" of the knight.But many fans also feel,

  85. By nike lebron shoes on 四月 24, 2018 at 2:01 下午

    nike lebron shoes

    Layup is a very basic basketball skills maybe everyone layup but there is a way of layup is not everyone that is wrong step layup.

  86. By lebron soldier 11 on 四月 24, 2018 at 2:01 下午

    lebron soldier 11

    Draft of the same year on the bottom rookie will be what?In general the draft should be able to blow the other party, who would have thought them took Owen on the 60th pick small Thomas in the same year, he turned out to be in the position of the chall…

  87. By anello backpack on 四月 24, 2018 at 2:01 下午

    anello backpack

    The NBA playoffs now for today, have determined the warriors in the western conference and will compete for a spot in the finals quota, knight still don't know who his opponent was.However, even in the face of the celtics or the wizards, presumably kn…

  88. By kyrie irving jersey on 四月 24, 2018 at 2:02 下午

    kyrie irving jersey

    Recently, the Fansided to knight main rotation player in the first two rounds of the playoffs, the performance of the Owen only C +, love there is only a B.

Post a Comment

You must be logged in to post a comment.