<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=1294529</guid>
        <pubDate>Sat, 07 Oct 2006 11:03:34 +0000</pubDate>
        <title>Алгоритмы быстрого поиска</title>
        <link>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=1294529</link>
        <description><![CDATA[Monster: <strong class='tag-b'>Demo_S</strong> да выложи ты.А мы посмотрим.]]></description>
        <author>Monster</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92273</guid>
        <pubDate>Sat, 15 Mar 2003 20:33:08 +0000</pubDate>
        <title>Алгоритмы быстрого поиска</title>
        <link>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92273</link>
        <description><![CDATA[Demo_S: <a class='tag-url' href='https://algolist.manual.ru' target='_blank'>algolist.manual.ru</a><br><br>у меня есть несколько реализованных алгоритмов поиска... на С++. код дам (он маленький) теорию писать влом....<br>слать? или здесь выложить?<br><br>]]></description>
        <author>Demo_S</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92272</guid>
        <pubDate>Sat, 15 Mar 2003 14:00:16 +0000</pubDate>
        <title>Алгоритмы быстрого поиска</title>
        <link>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92272</link>
        <description><![CDATA[AleXXKSyS: void __fastcall TQuickSort::QuickSort(int *A, int const AHigh, int iLo, int iHi)<br>{<br> &nbsp;int Lo, Hi, Mid, T;<br><br> &nbsp;Lo = iLo;<br> &nbsp;Hi = iHi;<br> &nbsp;Mid = A[(Lo+Hi)/2];<br><br> &nbsp;do<br> &nbsp;{<br> &nbsp; &nbsp;if (Terminated)<br> &nbsp; &nbsp; &nbsp;return; <br> &nbsp; &nbsp;while (A[Lo] &lt; Mid)<br> &nbsp; &nbsp; &nbsp; &nbsp;Lo++;<br> &nbsp; &nbsp;while (A[Hi] &gt; Mid) <br> &nbsp; &nbsp; &nbsp; &nbsp;Hi--;<br> &nbsp; &nbsp;if (Lo &lt;= Hi)<br> &nbsp; &nbsp;{<br> &nbsp; &nbsp; &nbsp;VisualSwap(A[Lo], A[Hi], Lo, Hi);<br> &nbsp; &nbsp; &nbsp;T = A[Lo];<br> &nbsp; &nbsp; &nbsp;A[Lo] = A[Hi];<br> &nbsp; &nbsp; &nbsp;A[Hi] = T;<br> &nbsp; &nbsp; &nbsp;Lo++;<br> &nbsp; &nbsp; &nbsp;Hi--;<br> &nbsp; &nbsp;}<br> &nbsp;}<br> &nbsp;while (Lo &lt;= Hi);<br><br> &nbsp;if (Hi &gt; iLo) <br> &nbsp; &nbsp;QuickSort(A, AHigh, iLo, Hi);<br> &nbsp;if (Lo &lt; iHi) <br> &nbsp; &nbsp;QuickSort(A, AHigh, Lo, iHi);<br>}<br>//---------------------------------------------------------------------<br>void __fastcall TQuickSort::Sort(int *A, int const AHigh)<br>{<br> &nbsp;QuickSort(A, AHigh, 0, AHigh);<br>}<br>//---------------------------------------------------------------------<br>Стнадартный Пример из С++Builder5.<br><br>Или в паскале:<br>{ TQuickSort }<br><br>procedure TQuickSort.Sort(var A: array of Integer);<br><br> &nbsp;procedure QuickSort(var A: array of Integer; iLo, iHi: Integer);<br> &nbsp;var<br> &nbsp; &nbsp;Lo, Hi, Mid, T: Integer;<br> &nbsp;begin<br> &nbsp; &nbsp;Lo := iLo;<br> &nbsp; &nbsp;Hi := iHi;<br> &nbsp; &nbsp;Mid := A[(Lo + Hi) div 2];<br> &nbsp; &nbsp;repeat<br> &nbsp; &nbsp; &nbsp;while A[Lo] &lt; Mid do Inc(Lo);<br> &nbsp; &nbsp; &nbsp;while A[Hi] &gt; Mid do Dec(Hi);<br> &nbsp; &nbsp; &nbsp;if Lo &lt;= Hi then<br> &nbsp; &nbsp; &nbsp;begin<br> &nbsp; &nbsp; &nbsp; &nbsp;VisualSwap(A[Lo], A[Hi], Lo, Hi);<br> &nbsp; &nbsp; &nbsp; &nbsp;T := A[Lo];<br> &nbsp; &nbsp; &nbsp; &nbsp;A[Lo] := A[Hi];<br> &nbsp; &nbsp; &nbsp; &nbsp;A[Hi] := T;<br> &nbsp; &nbsp; &nbsp; &nbsp;Inc(Lo);<br> &nbsp; &nbsp; &nbsp; &nbsp;Dec(Hi);<br> &nbsp; &nbsp; &nbsp;end;<br> &nbsp; &nbsp;until Lo &gt; Hi;<br> &nbsp; &nbsp;if Hi &gt; iLo then QuickSort(A, iLo, Hi);<br> &nbsp; &nbsp;if Lo &lt; iHi then QuickSort(A, Lo, iHi);<br> &nbsp; &nbsp;if Terminated then Exit;<br> &nbsp;end;<br><br>begin<br> &nbsp;QuickSort(A, Low(A), High(A));<br>end;<br><br>]]></description>
        <author>AleXXKSyS</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92271</guid>
        <pubDate>Mon, 10 Feb 2003 18:52:04 +0000</pubDate>
        <title>Алгоритмы быстрого поиска</title>
        <link>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92271</link>
        <description><![CDATA[majestic: Если расскажешь по подробнее, то я смогу подобрать какой-нибудь метод.<br>(Книжка есть у меня с алгоритмами поиска и сортировки стр~500)]]></description>
        <author>majestic</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92270</guid>
        <pubDate>Mon, 10 Feb 2003 10:12:39 +0000</pubDate>
        <title>Алгоритмы быстрого поиска</title>
        <link>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92270</link>
        <description><![CDATA[selectron: :D<br>ну, &nbsp;до &nbsp;лета еще рано..... &nbsp; :D]]></description>
        <author>selectron</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92269</guid>
        <pubDate>Fri, 07 Feb 2003 07:54:48 +0000</pubDate>
        <title>Алгоритмы быстрого поиска</title>
        <link>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92269</link>
        <description><![CDATA[GrAnd: Что значит быстрый поиск??? Все зависит от структуры самой базы данных, сортировки записей, полей и т.д. Может подробней расскажешь]]></description>
        <author>GrAnd</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92268</guid>
        <pubDate>Fri, 31 Jan 2003 12:23:39 +0000</pubDate>
        <title>Алгоритмы быстрого поиска</title>
        <link>https://forum.sources.ru/index.php?showtopic=9505&amp;view=findpost&amp;p=92268</link>
        <description><![CDATA[Jimbo Joy: Народ нужны любые исходники на любом языке по алгоритмам быстрого поиска в таблицах баз данных. Горю дипломная работа защита уже летом.]]></description>
        <author>Jimbo Joy</author>
        <category>Алгоритмы</category>
      </item>
	
      </channel>
      </rss>
	