亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? make_heap.html

?? ISO_C++:C++_STL開發(fā)文檔
?? HTML
字號(hào):
<HTML><!--  -- Copyright (c) 1996-1999  -- Silicon Graphics Computer Systems, Inc.  --  -- Permission to use, copy, modify, distribute and sell this software  -- and its documentation for any purpose is hereby granted without fee,  -- provided that the above copyright notice appears in all copies and  -- that both that copyright notice and this permission notice appear  -- in supporting documentation.  Silicon Graphics makes no  -- representations about the suitability of this software for any  -- purpose.  It is provided "as is" without express or implied warranty.  --  -- Copyright (c) 1994  -- Hewlett-Packard Company  --  -- Permission to use, copy, modify, distribute and sell this software  -- and its documentation for any purpose is hereby granted without fee,  -- provided that the above copyright notice appears in all copies and  -- that both that copyright notice and this permission notice appear  -- in supporting documentation.  Hewlett-Packard Company makes no  -- representations about the suitability of this software for any  -- purpose.  It is provided "as is" without express or implied warranty.  --  --><Head><Title>make_heap</Title><!-- Generated by htmldoc --></HEAD><BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" 	ALINK="#ff0000"> <IMG SRC="CorpID.gif"      ALT="SGI" HEIGHT="43" WIDTH="151"> <!--end header--><BR Clear><H1>make_heap</H1><Table CellPadding=0 CellSpacing=0 width=100%><TR><TD Align=left><Img src = "algorithms.gif" Alt=""   WIDTH = "194"  HEIGHT = "38" ></TD><TD Align=right><Img src = "function.gif" Alt=""   WIDTH = "194"  HEIGHT = "38" ></TD></TR><TR><TD Align=left VAlign=top><b>Category</b>: algorithms</TD><TD Align=right VAlign=top><b>Component type</b>: function</TD></TR></Table><h3>Prototype</h3><tt>Make_heap</tt> is an overloaded name; there are actually two <tt>make_heap</tt> functions.    <pre>template &lt;class <A href="RandomAccessIterator.html">RandomAccessIterator</A>&gt;void make_heap(RandomAccessIterator first, RandomAccessIterator last);template &lt;class <A href="RandomAccessIterator.html">RandomAccessIterator</A>, class <A href="StrictWeakOrdering.html">StrictWeakOrdering</A>&gt;void make_heap(RandomAccessIterator first, RandomAccessIterator last,               StrictWeakOrdering comp);</pre>                   <h3>Description</h3><tt>Make_heap</tt> turns the range <tt>[first, last)</tt> into a heap <A href="#1">[1]</A>.  <P>The two versions of <tt>make_heap</tt> differ in how they define whether oneelement is less than another.  The first version comparesobjects using <tt>operator&lt;</tt>, and the second compares objects usinga <A href="functors.html">function object</A> <tt>comp</tt>.In the first version the postcondition is that <tt><A href="is_heap.html">is_heap</A>(first, last)</tt>is <tt>true</tt>, and in the second version the postcondition is that <tt><A href="is_heap.html">is_heap</A>(first, last, comp)</tt> is <tt>true</tt>.<h3>Definition</h3>Defined in the standard header <A href="algorithm">algorithm</A>, and in the nonstandardbackward-compatibility header <A href="algo.h">algo.h</A>.<h3>Requirements on types</h3>For the first version:<UL><LI><tt>RandomAccessIterator</tt> is a model of <A href="RandomAccessIterator.html">Random Access Iterator</A>.<LI><tt>RandomAccessIterator</tt> is mutable.<LI><tt>RandomAccessIterator</tt>'s value type is a model of <A href="LessThanComparable.html">LessThan Comparable</A>.<LI>The ordering on objects of <tt>RandomAccessIterator</tt>'s value type is a <i>strict   weak ordering</i>, as defined in the <A href="LessThanComparable.html">LessThan Comparable</A> requirements.</UL>For the second version:<UL><LI><tt>RandomAccessIterator</tt> is a model of <A href="RandomAccessIterator.html">Random Access Iterator</A>.<LI><tt>RandomAccessIterator</tt> is mutable.<LI><tt>StrictWeakOrdering</tt> is a model of <A href="StrictWeakOrdering.html">Strict Weak Ordering</A>.<LI><tt>RandomAccessIterator</tt>'s value type is convertible to   <tt>StrictWeakOrdering</tt>'s argument type.</UL><h3>Preconditions</h3><UL><LI><tt>[first, last)</tt> is a valid range.</UL><h3>Complexity</h3>Linear.  At most <tt>3*(last - first)</tt> comparisons.<h3>Example</h3><pre>int main(){  int A[] = {1, 4, 2, 8, 5, 7};  const int N = sizeof(A) / sizeof(int);  make_heap(A, A+N);  <A href="copy.html">copy</A>(A, A+N, <A href="ostream_iterator.html">ostream_iterator</A>&lt;int&gt;(cout, &quot; &quot;));  cout &lt;&lt; endl;  <A href="sort_heap.html">sort_heap</A>(A, A+N);  <A href="copy.html">copy</A>(A, A+N, <A href="ostream_iterator.html">ostream_iterator</A>&lt;int&gt;(cout, &quot; &quot;));  cout &lt;&lt; endl;}</pre><h3>Notes</h3><P><A name="1">[1]</A>A heap is a particular way of ordering the elements in a range of<A href="RandomAccessIterator.html">Random Access Iterators</A> <tt>[f, l)</tt>.  The reason heaps are useful(especially for sorting, or as priority queues) is that they satisfytwo important properties.  First, <tt>*f</tt> is the largest element in theheap.  Second, it is possible to add an element to a heap (using<tt>push_heap</tt>), or to remove <tt>*f</tt>, in logarithmic time.Internally, a heap is simply a tree represented as a sequential range.The tree is constructed so that that eachnode is less than or equal to its parent node.<h3>See also</h3><tt><A href="push_heap.html">push_heap</A></tt>, <tt><A href="pop_heap.html">pop_heap</A></tt>, <tt><A href="sort_heap.html">sort_heap</A></tt>, <tt><A href="sort.html">sort</A></tt>, <tt><A href="is_heap.html">is_heap</A></tt><!--start footer--> <HR SIZE="6"><A href="http://www.sgi.com/"><IMG SRC="surf.gif" HEIGHT="54" WIDTH="54"         ALT="[Silicon Surf]"></A><A HREF="index.html"><IMG SRC="stl_home.gif"         HEIGHT="54" WIDTH="54" ALT="[STL Home]"></A><BR><FONT SIZE="-2"><A href="http://www.sgi.com/Misc/sgi_info.html" TARGET="_top">Copyright &copy; 1999 Silicon Graphics, Inc.</A> All Rights Reserved.</FONT><FONT SIZE="-3"><a href="http://www.sgi.com/Misc/external.list.html" TARGET="_top">TrademarkInformation</A></FONT><P></BODY></HTML> 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品热久久久久夜色精品三区 | 亚洲免费在线观看| av午夜一区麻豆| 亚洲美女电影在线| 欧美亚洲国产怡红院影院| 亚洲图片欧美色图| 在线播放91灌醉迷j高跟美女 | 九九**精品视频免费播放| 欧美色综合网站| 日本伊人色综合网| 精品粉嫩aⅴ一区二区三区四区| 国产一区二区不卡| 国产精品欧美极品| 欧美色图在线观看| 麻豆精品久久久| 日本一区二区综合亚洲| 91网站最新地址| 日韩电影在线免费看| 久久精品人人做| 色综合色综合色综合| 婷婷一区二区三区| 2020国产精品| 欧洲精品一区二区三区在线观看| 麻豆91免费看| 136国产福利精品导航| 7777精品伊人久久久大香线蕉完整版 | 亚洲欧美日韩综合aⅴ视频| 欧美视频一区在线观看| 国产一区二区精品久久91| 亚洲色图都市小说| 日韩一区二区三区精品视频| 国产成人av自拍| 日本怡春院一区二区| 国产精品国产三级国产三级人妇| 9191成人精品久久| 96av麻豆蜜桃一区二区| 伦理电影国产精品| 亚洲激情六月丁香| 国产亚洲欧洲997久久综合| 欧美性一二三区| 成人av影院在线| 毛片基地黄久久久久久天堂| 亚洲另类春色国产| 久久久另类综合| 91精品国产高清一区二区三区| 成人黄色av网站在线| 久久精品免费观看| 亚洲国产日韩a在线播放| 欧美—级在线免费片| 欧美一区二区三区视频免费播放| 色综合天天天天做夜夜夜夜做| 狠狠色丁香久久婷婷综合丁香| 亚洲风情在线资源站| 综合电影一区二区三区| 国产偷v国产偷v亚洲高清| 欧美一级片在线| 欧美综合久久久| 一本高清dvd不卡在线观看| 粉嫩av一区二区三区粉嫩| 精品伊人久久久久7777人| 亚洲123区在线观看| 伊人婷婷欧美激情| 亚洲欧洲精品天堂一级| 中文天堂在线一区| 国产亚洲精品中文字幕| xnxx国产精品| 日韩精品在线一区| 欧美一级淫片007| 欧美久久久久中文字幕| 欧美日韩在线免费视频| 91国偷自产一区二区三区观看| 91在线视频免费观看| 成人av在线看| 91丝袜高跟美女视频| 成人网男人的天堂| 成人综合在线视频| 国产iv一区二区三区| 成人午夜免费av| 成人午夜大片免费观看| 99精品视频免费在线观看| 99国产精品久久久久| 99国产精品久久久| 日本精品裸体写真集在线观看| 欧洲一区在线电影| 欧日韩精品视频| 91精品国产91综合久久蜜臀| 日韩欧美电影一二三| 久久综合色之久久综合| 久久久99精品免费观看不卡| 国产精品无遮挡| 成人欧美一区二区三区1314 | 久久久亚洲国产美女国产盗摄| 精品播放一区二区| 久久精品欧美日韩| 亚洲色图视频网站| 五月天国产精品| 精品一区二区在线视频| 懂色av一区二区在线播放| av高清不卡在线| 欧美日韩视频不卡| 精品成人佐山爱一区二区| 日本一区二区三区高清不卡| 亚洲欧美偷拍卡通变态| 午夜久久久久久| 国产麻豆视频一区二区| 日本精品视频一区二区| 日韩精品一区二区三区swag| 国产精品蜜臀在线观看| 亚洲网友自拍偷拍| 国产资源在线一区| 色综合久久中文综合久久97| 欧美一区二区在线看| 久久九九99视频| 一区二区三区国产精品| 久久99精品国产麻豆婷婷| 成人一级视频在线观看| 欧美日韩日日骚| 国产欧美日韩亚州综合| 亚洲123区在线观看| 国产成人丝袜美腿| 欧美在线视频日韩| 精品999久久久| 亚洲夂夂婷婷色拍ww47 | 成人av网址在线观看| 宅男噜噜噜66一区二区66| 欧美国产97人人爽人人喊| 视频一区视频二区中文| 成人免费视频播放| 日韩免费视频一区| 亚洲一区二区三区四区的 | 综合电影一区二区三区| 毛片不卡一区二区| 欧美视频在线观看一区| 国产精品不卡在线观看| 精品一区二区三区日韩| 欧洲色大大久久| 中文字幕一区av| 国产麻豆一精品一av一免费| 欧美高清视频www夜色资源网| 17c精品麻豆一区二区免费| 国产一区二区0| 精品国产精品网麻豆系列| 三级久久三级久久久| 欧洲精品在线观看| 国产精品久久夜| 国产成人一级电影| 日韩精品一区二区三区视频在线观看| 亚洲成人av一区二区三区| 99在线视频精品| 国产欧美日韩在线视频| 国产麻豆精品95视频| 日韩欧美国产1| 蜜芽一区二区三区| 56国语精品自产拍在线观看| 夜夜精品浪潮av一区二区三区| 成人app网站| 欧美激情一区二区三区全黄| 国产成人精品免费一区二区| 26uuuu精品一区二区| 狠狠色丁香婷婷综合久久片| 精品久久久影院| 免费成人结看片| 在线播放亚洲一区| 青青国产91久久久久久| 日韩情涩欧美日韩视频| 日本成人中文字幕| 日韩一区二区三区四区五区六区 | 久久亚洲综合av| 免费观看一级特黄欧美大片| 日韩欧美国产三级电影视频| 久久精品久久99精品久久| 欧美成人一区二区三区| 激情成人综合网| 久久精品视频在线看| 成人毛片在线观看| 中文字幕在线视频一区| 色综合久久综合网97色综合| 一片黄亚洲嫩模| 欧美日韩亚洲国产综合| 蜜乳av一区二区三区| 久久久噜噜噜久久中文字幕色伊伊| 国产在线不卡视频| 中文字幕不卡的av| 色婷婷综合五月| 性做久久久久久免费观看| 日韩三级在线免费观看| 国产一区二区三区久久悠悠色av| 亚洲国产精品黑人久久久| 色综合天天综合| 日日夜夜免费精品视频| 亚洲精品在线电影| 波多野结衣的一区二区三区| 亚洲另类一区二区| 日韩欧美在线不卡| 国产精品一区二区在线播放| 综合久久久久久久| 欧美一区二区三区在线观看| 国产成人a级片| 亚洲国产视频网站| 久久久久国产精品麻豆ai换脸|