<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>First Try by </title>
      <link>https://padlet.com/1165056/001</link>
      <description>blog???</description>
      <language>en-us</language>
      <pubDate>2017-05-05 07:53:59 UTC</pubDate>
      <lastBuildDate>2023-11-14 09:13:26 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet-assets.s3.amazonaws.com/icons/Lightdecrease.png</url>
      </image>
      <item>
         <title>#includeusing namespace std;void swap(int *a, int *b){    int tmp;    tmp = *a;    *a = *b;    *b = tmp;}int partition(int arr[], int left, int right, int pivotIndex){    int storeIndex = left;    int pivotValue = arr[pivotIndex];    int i;    swap(&amp;arr[pivotIndex],&amp;arr[right]);       for (i = left; i &lt; right; i ++)    {        if (arr[i] &gt; pivotValue)        {            swap(&amp;arr[i],&amp;arr[storeIndex]);            storeIndex++;        }    }    swap(&amp;arr[storeIndex],&amp;arr[right]);    return storeIndex;}int findKMax(int arr[], int left, int right, int k){    int nRet;    int pivotIndex = left + 1;    nRet = partition(arr,left,right,pivotIndex);    if (nRet &lt; k){        return findKMax(arr,nRet+1,right,k);    }    else if (nRet &gt; k){	        return findKMax(arr,left,nRet-1,k);	    }           return nRet;}int main(){    int i,k,nRet;    int arr[] = {8,3,4,1,9,7,6,10};    scanf(&quot;%d&quot;,&amp;k);    nRet = findKMax(arr,0,7,k-1);        printf(&quot;The Kth Max Number locate in %d is :%d\n&quot;,nRet,arr[nRet]);    for (i = 0; i &lt; 8; i++){        printf(&quot;%3d&quot;,arr[i]);    }    return 0;} </title>
         <author>1165056</author>
         <link>https://padlet.com/1165056/001/wish/170116640</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padletuploads.blob.core.windows.net/prod/197360909/7f2c9e2edf492bb717f39890bacf30db/keyboard.png" />
         <pubDate>2017-05-05 07:56:19 UTC</pubDate>
         <guid>https://padlet.com/1165056/001/wish/170116640</guid>
      </item>
      <item>
         <title>乱七八糟</title>
         <author></author>
         <link>https://padlet.com/1165056/001/wish/170116884</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-05-05 07:58:32 UTC</pubDate>
         <guid>https://padlet.com/1165056/001/wish/170116884</guid>
      </item>
      <item>
         <title>看不下去了</title>
         <author></author>
         <link>https://padlet.com/1165056/001/wish/170116916</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-05-05 07:58:49 UTC</pubDate>
         <guid>https://padlet.com/1165056/001/wish/170116916</guid>
      </item>
      <item>
         <title>这是啥？</title>
         <author></author>
         <link>https://padlet.com/1165056/001/wish/170117060</link>
         <description><![CDATA[<div>呃。。。。。</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-05-05 08:00:08 UTC</pubDate>
         <guid>https://padlet.com/1165056/001/wish/170117060</guid>
      </item>
      <item>
         <title></title>
         <author>1165056</author>
         <link>https://padlet.com/1165056/001/wish/170117118</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padletuploads.blob.core.windows.net/aws/197360909/PpW0I1EgPGdmFkXSO7yjKg/a6c89c919f24115169ea3fa2485c5f64.jpg" />
         <pubDate>2017-05-05 08:00:46 UTC</pubDate>
         <guid>https://padlet.com/1165056/001/wish/170117118</guid>
      </item>
      <item>
         <title>我也不知道是啥，先试试看吧</title>
         <author>1165056</author>
         <link>https://padlet.com/1165056/001/wish/170117342</link>
         <description><![CDATA[<div>等会找个视频发过来<br><br></div>]]></description>
         <enclosure url="https://padletuploads.blob.core.windows.net/prod/197360909/18f842f36e7bf0b866cc9cf44ad07a0b/merge.cpp" />
         <pubDate>2017-05-05 08:02:32 UTC</pubDate>
         <guid>https://padlet.com/1165056/001/wish/170117342</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/1165056/001/wish/170117797</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padletuploads.blob.core.windows.net/prod/197364863/328ea849dd9c52f816f604a1f6c73cf4/V70311_142845.mp4" />
         <pubDate>2017-05-05 08:06:28 UTC</pubDate>
         <guid>https://padlet.com/1165056/001/wish/170117797</guid>
      </item>
   </channel>
</rss>
