<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>20616-111(2) 高二C班課程 by 20616何承宇</title>
      <link>https://padlet.com/s11030043/tczybmtdwj89atae</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-03-30 00:24:31 UTC</pubDate>
      <lastBuildDate>2023-05-30 13:49:59 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>2/23</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537474182</link>
         <description><![CDATA[<div>取亂數&nbsp;</div>]]></description>
         <enclosure url="https://onlinegdb.com/nb_mQNpux" />
         <pubDate>2023-03-30 00:25:45 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537474182</guid>
      </item>
      <item>
         <title>3/2</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537474771</link>
         <description><![CDATA[<div><strong>六個數字排序</strong></div>]]></description>
         <enclosure url="https://onlinegdb.com/DvY46jnb0q" />
         <pubDate>2023-03-30 00:26:11 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537474771</guid>
      </item>
      <item>
         <title>3/18</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537475290</link>
         <description><![CDATA[<div><strong>號碼不重覆</strong>&nbsp;</div>]]></description>
         <enclosure url="https://onlinegdb.com/G65-JSlYG" />
         <pubDate>2023-03-30 00:26:35 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537475290</guid>
      </item>
      <item>
         <title>3/23</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537475960</link>
         <description><![CDATA[<div>產生N期中獎號碼</div>]]></description>
         <enclosure url="https://onlinegdb.com/z6NjHWf7u" />
         <pubDate>2023-03-30 00:27:01 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2537475960</guid>
      </item>
      <item>
         <title>srand</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539419527</link>
         <description><![CDATA[<div>一個取亂數的函式</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-31 05:23:39 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539419527</guid>
      </item>
      <item>
         <title>選擇排序法</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539420026</link>
         <description><![CDATA[<div>&nbsp;//選擇排序<br>&nbsp; &nbsp; for( i=0 ; i&lt;N ; i=i+1 )<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; for( j=i+1 ; j&lt;N ; j=j+1 )<br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if( result[i] &gt; result[j] )<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //變數交換<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tmp = result[i];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; result[i] = result[j];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; result[j] = tmp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; }</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-31 05:24:17 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539420026</guid>
      </item>
      <item>
         <title>數字不重複的方法</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539420520</link>
         <description><![CDATA[<div><br>&nbsp; &nbsp; &nbsp; &nbsp; // 檢查是否已經取過此數字<br>&nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; numCount; i++) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (result[i] == num) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; isDuplicate = true;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br><br>&nbsp; &nbsp; &nbsp; &nbsp; // 如果未取過此數字，則加入已取數字的陣列中<br>&nbsp; &nbsp; &nbsp; &nbsp; if (!isDuplicate) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; result[numCount] = num;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; numCount++;<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; }</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-31 05:24:53 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539420520</guid>
      </item>
      <item>
         <title>詢問進行幾次</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539421118</link>
         <description><![CDATA[<div>cout &lt;&lt; "要進行幾次？";<br>&nbsp; &nbsp; cin &gt;&gt; numPlays;<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-31 05:25:35 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2539421118</guid>
      </item>
      <item>
         <title>查詢期別</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2569493959</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://onlinegdb.com/mZ7UQAowzy" />
         <pubDate>2023-04-27 00:21:59 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2569493959</guid>
      </item>
      <item>
         <title>單一期別/號碼的對獎</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2569506580</link>
         <description><![CDATA[<div>`</div>]]></description>
         <enclosure url="https://onlinegdb.com/AGhfQfJO_" />
         <pubDate>2023-04-27 00:31:16 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2569506580</guid>
      </item>
      <item>
         <title>查詢其別</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2609169827</link>
         <description><![CDATA[<div>&nbsp;// 查詢中獎號碼<br>&nbsp; &nbsp; int query;<br>&nbsp; &nbsp; do {<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "輸入要查詢的期別";<br>&nbsp; &nbsp; &nbsp; &nbsp; cin &gt;&gt; query;<br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; if (query &lt; 0 || query &gt; NUM_PLAYS) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "無效的期別，請重新輸入！" &lt;&lt; endl;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-05-30 13:47:12 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2609169827</guid>
      </item>
      <item>
         <title>單一期別/號碼的對獎</title>
         <author>s11030043</author>
         <link>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2609172832</link>
         <description><![CDATA[<div>// 接受使用者輸入<br>&nbsp; &nbsp; int period, guess[6];<br>&nbsp; &nbsp; cout &lt;&lt; "請輸入要對獎的期別（1-10）：";<br>&nbsp; &nbsp; cin &gt;&gt; period;<br>&nbsp; &nbsp; cout &lt;&lt; "請輸入六個數字：";<br>&nbsp; &nbsp; for (int i = 0; i &lt; 6; i++) {<br>&nbsp; &nbsp; &nbsp; &nbsp; cin &gt;&gt; guess[i];<br>&nbsp; &nbsp; }</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-05-30 13:49:40 UTC</pubDate>
         <guid>https://padlet.com/s11030043/tczybmtdwj89atae/wish/2609172832</guid>
      </item>
   </channel>
</rss>
