<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Bồi dưỡng Lập trình C++ by Hồng Nguyễn</title>
      <link>https://padlet.com/totinhocnhd/LaptrinhC</link>
      <description>Nháy vào dấu (+) của Tên học sinh để đăng bài.</description>
      <language>en-us</language>
      <pubDate>2024-11-22 04:15:48 UTC</pubDate>
      <lastBuildDate>2026-01-29 05:56:42 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/8.0/svg/2764-1f525.svg</url>
      </image>
      <item>
         <title>Đề 1</title>
         <author>totinhocnhd</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3627987737</link>
         <description><![CDATA[<p><strong>Câu 1: Kiểm tra số chẵn hay lẻ (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU1.*</strong></p><p>Nhập một số nguyên dương x, kiểm tra xem x là số chẵn hay số lẻ?</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:45 </strong></p><p><strong>OUTPUT: Số lẻ</strong></p><p><strong>Giải thích: </strong>Vì 45 không chia hết cho 2 nên 45 là số lẻ.</p><p><br></p><p><strong>Câu 2: Tổng các số tự nhiên lẻ (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU2.*</strong></p><p>Nhập một số nguyên dương n. Tính tổng 1 + 3 + 5 +… + (2n-1) .</p><p><strong><em>Ví dụ</em></strong><em>:</em></p><p>INPUT: 50</p><p>OUTPUT: 2500</p><p>Giải thích: Sử dụng vòng lặp for (int i=1;i&lt;=n;i+=2)</p><p>Tong=1+3+5+…+99=2500</p><p><br></p><p><strong>Câu 3: Các số không âm (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU3.*</strong></p><p>Nhập một dãy các số nguyên gồm n số. In ra các số trong dãy là những số không phải là số âm.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:</strong></p><ul><li><p>Nhập n: 4</p></li><li><p>Nhập số thứ 1: 4</p></li><li><p>Nhập số thứ 2: 3</p></li><li><p>Nhập số thứ 3: -7</p></li><li><p>Nhập số thứ 4: 2</p></li></ul><p><strong>OUTPUT</strong>: Các số không âm: 4 3 2 </p><p><strong>Giải thích:</strong> Khi nhập n=4 ta có vòng lặp Nhấp số thứ i được thực hiện 4 lần với các giá trị lần lượt là 4, 3, -7, 2. Kết quả in ra:</p><p><strong><em>Số nguyên không âm: 4 3 2</em></strong></p><p>(Số -7 không được in ra vì -7 là số âm.</p><p><br></p><p><strong>Câu 4: Tổng các kí tự số trong xâu (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU4.*</strong></p><p>Nhập một xâu kí tự s độ dài n chỉ chứa các chữ cái tiếng Anh và các kí tự số. Hãy tính và in ra tổng</p><p>của các kí tự số trong xâu s.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT: </strong>Abcd20Ghi2jkl5mn</p><p><strong>OUTPUT: </strong>Tổng các số là: 9 </p><p><strong>Giải thích: </strong>Trong xâu s có các kí tự số là 2, 0 2, 5 : Tổng các số là: 2+0+2+5=9</p><p><br></p><p><strong>Câu 5: Tam giác (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU5.*</strong></p><p>Nhập 3 cạnh a, b, c. Cho biết 3 cạnh đó có hình thành một tam giác hay không? Nếu đó là một tam giác thì cho biết tính chất của tam giác đó (Là <em>tam giác đều </em>hay <em>tam giác cân </em>hay <em>tam giác vuông </em>hay <em>tam giác thường</em>)</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPPUT: </strong>5 6 3</p><p><strong>OUTPUT: </strong>Là tam giác thường</p><p><strong>Giải thích: </strong>Vì (a+b&gt;c) và (a+c)&gt;b và (b+c)&gt;a <strong>đúng</strong></p><p>Nên xét tiếp trường hợp tam giác đều (a=b=c),</p><p>tam giác cân (a=b hoặc b=c hoặc a=c), tam giác</p><p>vuông (a2+b2=c2 hoặc a 2+c2=b2 ) và tam giác</p><p>thường.</p><p><strong><em>Ví dụ 2:</em></strong> </p><p><strong>INPUT</strong>: 3 4 5</p><p><strong>OUTPUT</strong>: Là tam giác vuông</p><p><strong>Giải thích: </strong>Vì (a+b&gt;c) và (a+c)&gt;b và (b+c)&gt;a <strong>đúng</strong></p><p>Nên xét tiếp trường hợp tam giác đều, tam giác cân và tam giác vuông.</p><p><strong><em>Ví dụ 3:</em></strong> </p><p><strong>INPUT: </strong>1 2 9</p><p><strong>OUTPUT</strong>: Không là tam giác</p><p><strong>Giải thích:</strong> Vì (a+b&gt;c) và (a+c)&gt;b và (b+c)&gt;a <strong>sai</strong></p><p>Nên không xét tiếp và in ra kết quả “<em>Không là tam giác</em>”</p><p><strong><em>Ví dụ 4: </em></strong></p><p><strong>INPUT</strong>: 5 5 5</p><p><strong>OUTPUT</strong>: Là tam giác đều</p><p><strong>Giải thích: </strong>Vì (a+b&gt;c) và (a+c)&gt;b và (b+c)&gt;a <strong>đúng</strong></p><p>Nên xét tiếp trường hợp tam giác đều.</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 06:55:09 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3627987737</guid>
      </item>
      <item>
         <title>Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628008029</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int x;</p><p>    cin &gt;&gt; x;</p><p>    if (x % 2 == 0)</p><p>        cout &lt;&lt; "Số chẵn";</p><p>    else</p><p>        cout &lt;&lt; "Số lẻ";</p><p>    return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 07:42:49 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628008029</guid>
      </item>
      <item>
         <title>Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628011413</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n, sum = 0; // sum rỗng</p><p>    cin &gt;&gt; n;</p><p>    for (int i = 1; i &lt;= 2*n - 1; i += 2)</p><p>        sum += i;</p><p>    cout &lt;&lt; "Tổng = " &lt;&lt; sum;</p><p>    return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 07:50:59 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628011413</guid>
      </item>
      <item>
         <title>Bài 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628026604</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int a, b, c;</p><p>    cin &gt;&gt; a &gt;&gt; b &gt;&gt; c;</p><p>    if (a + b &gt; c &amp;&amp; a + c &gt; b &amp;&amp; b + c &gt; a) {</p><p>        if (a <mark> == b &amp;&amp; b </mark>== c)</p><p>            cout &lt;&lt; "Là tam giác đều";</p><p>        else if (a == <mark> b || b </mark> ==c || a == c)</p><p>            cout &lt;&lt; "Là tam giác cân";</p><p>        else if (a*a + b*b ==<mark> c*c || a*a + c*c </mark>== b*b || b*b + c*c == a*a)</p><p>            cout &lt;&lt; "Là tam giác vuông";</p><p>        else</p><p>            cout &lt;&lt; "Là tam giác thường";</p><p>    } else {</p><p>        cout &lt;&lt; "Không là tam giác";</p><p>    }</p><p>    return 0;</p><p>}</p><p><br/></p><p>// &amp;&amp; = and, || = or</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 08:23:35 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628026604</guid>
      </item>
      <item>
         <title>Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628275795</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int x;</p><p>    cin &gt;&gt; x;</p><p>    if (x % 2 == 0)</p><p>        cout &lt;&lt; "Số chẵn";</p><p>    else</p><p>        cout &lt;&lt; "Số lẻ";</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 14:12:41 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628275795</guid>
      </item>
      <item>
         <title>Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628288678</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>int n, sum = 0; // sum rỗng</p><p>cin &gt;&gt; n;</p><p>for (int i = 1; i &lt;= 2*n - 1; i += 2)</p><p>sum += i;</p><p>cout &lt;&lt; "Tổng = " &lt;&lt; sum;</p><p>return 0;</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 14:24:41 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628288678</guid>
      </item>
      <item>
         <title>Bài 3</title>
         <author>2505_</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628311842</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    cout &lt;&lt; "Nhap n: ";</p><p>    cin &gt;&gt; n;</p><p>    int a[n]; // tạo dãy n để lưu số</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        cout &lt;&lt; "Nhap so thu " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>        cin &gt;&gt; a[i];</p><p>    }</p><p>    cout &lt;&lt; "Cac so khong am: ";</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        if (a[i] &gt;= 0) { // ss dương âm</p><p>            cout &lt;&lt; a[i] &lt;&lt; " ";</p><p>        }</p><p>    }</p><p>    return 0;</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 14:47:31 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628311842</guid>
      </item>
      <item>
         <title>Bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628323058</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>int n;</p><p>cout &lt;&lt; "Nhap n: ";</p><p>cin &gt;&gt; n;</p><p>int a[n]; // tạo dãy n để lưu số</p><p>for (int i = 0; i &lt; n; i++) {</p><p>cout &lt;&lt; "Nhap so thu " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>cin &gt;&gt; a[i];</p><p>}</p><p>cout &lt;&lt; "Cac so khong am: ";</p><p>for (int i = 0; i &lt; n; i++) {</p><p>if (a[i] &gt;= 0) { // ss dương âm</p><p>cout &lt;&lt; a[i] &lt;&lt; " ";</p><p>}</p><p>}</p><p>return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-12 14:59:07 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3628323058</guid>
      </item>
      <item>
         <title>bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3629094982</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4545953118/d8e02c22b9a1ef229c985636df227068/image.png" />
         <pubDate>2025-10-13 04:55:06 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3629094982</guid>
      </item>
      <item>
         <title>bài2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3629178477</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4545953118/566dd8e0025aef65db0d5939342a75ab/image.png" />
         <pubDate>2025-10-13 05:59:33 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3629178477</guid>
      </item>
      <item>
         <title>Đề 2</title>
         <author>tinhock9nhd</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3632996747</link>
         <description><![CDATA[<p><strong>Câu 1: Kiểm tra số chính phương (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU1.*</strong></p><p>Nhập một số nguyên dương x, kiểm tra xem x có phải là số  chính phương hay không? </p><p>Số chính phương là <mark>một số nguyên không âm có thể biểu diễn dưới dạng bình phương của một số nguyên khác</mark>. Ví dụ:</p><p>4=2×2 hoặc 9=3×3</p><p>Ví dụ</p><ul><li><p>0,1,4,9,16,25,36,49,64,81,100 là các số chính phương.</p></li></ul><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:4 </strong></p><p><strong>OUTPUT: 4 là số chính phương</strong></p><p><strong>Giải thích: </strong>Vì 4 là bình phương của số 2 nên 4 là số chính phương.</p><p><br/></p><p><strong>Câu 2: Tổng các số tự nhiên nghịch đảo (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU2.*</strong></p><p>Nhập một số nguyên dương n. Tính tổng 1 + 1/2 + 1/3 +… +1/n .</p><p><strong><em>Ví dụ</em></strong><em>:</em></p><p>INPUT: 5</p><p>OUTPUT: 2.283333</p><p>Giải thích: Sử dụng vòng lặp for (int i=1;i&lt;=n;i++)</p><p>Tong=1+1/2+1/3+1/4+1/5=2.283333</p><p><br/></p><p><strong>Câu 3: Tổng các số lẻ (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU3.*</strong></p><p>Nhập một dãy các số nguyên gồm n số. Tính tổng các số lẻ trong dãy số trên.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:</strong></p><ul><li><p>Nhập n: 4</p></li><li><p>Nhập số thứ 1: 4</p></li><li><p>Nhập số thứ 2: 3</p></li><li><p>Nhập số thứ 3: -7</p></li><li><p>Nhập số thứ 4: 2</p></li></ul><p><strong>OUTPUT</strong>: Tổng các số lẻ:  -4</p><p><strong>Giải thích:</strong> Khi nhập n=4 ta có vòng lặp Nhấp số thứ i được thực hiện 4 lần với các giá trị lần lượt là 4, 3, -7, 2. Kết quả in ra:</p><p><strong><em>Tổng các số lẻ: -4</em></strong></p><p>(Tổng các số lẻ trong dãy là tổng của 3 và -7: 3-7=-4</p><p><br/></p><p><strong>Câu 4: Số kí tự chữ hoa trong xâu (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU4.*</strong></p><p>Nhập một xâu kí tự s độ dài n chỉ chứa các chữ cái tiếng Anh và các kí tự số. Hãy đếm xem có bao nhiêu các kí tự chữ hoa trong xâu s.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT: </strong>Abcd20Ghi2jKl5mn</p><p><strong>OUTPUT: </strong>Số kí tự chữ hoa là: 2 </p><p><strong>Giải thích: </strong>Trong xâu s có các kí tự số là A, K vậy có 2 kí tự là chữ hoa.</p><p><br/></p><p><strong>Câu 5: Tam giác (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU5.*</strong></p><p>Nhập vào số nguyên dương 𝑛 (2 &lt; 𝑛 ≤ 103 ). In ra một hình vuông cạnh 𝑛 gồm các dấu $. (Lưu ý có kiểm tra n thỏa điều kiện bằng vòng lặp do... while)</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPPUT: 5</strong></p><p><strong>OUTPUT: </strong></p><p><strong>$$$$$</strong></p><p><strong>$$$$$</strong></p><p><strong>$$$$$</strong></p><p><strong>$$$$$</strong></p><p><strong>$$$$$</strong></p><p><strong>Giải thích: khi nhập n=5, ta sử dụng for i để in ra một dòng 5 ký tự '$' và lồng thêm 1 for j để lặp lại in ra 5 dòng.</strong></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-15 03:59:31 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3632996747</guid>
      </item>
      <item>
         <title>bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633070085</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4561184136/e203c6cd43dc8cb2656965e391c7155a/image.png" />
         <pubDate>2025-10-15 04:52:43 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633070085</guid>
      </item>
      <item>
         <title>bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633119534</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4561184136/73a0b722d3cbcdfa3706b424e8218554/image.png" />
         <pubDate>2025-10-15 05:28:29 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633119534</guid>
      </item>
      <item>
         <title>bài 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633153750</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4561184136/a044defc3b544e32354829c1462890a9/image.png" />
         <pubDate>2025-10-15 05:54:08 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633153750</guid>
      </item>
      <item>
         <title>Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633967401</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>#include &lt;string&gt;</p><p>using namespace std;</p><p>int main()</p><p>{</p><p>    string s;</p><p>    cout &lt;&lt; "nhap mot xau ky tu";  // "Enter a string"</p><p>    cin &gt;&gt; s;</p><p>    int tong = 0;  // "tong" means "sum" in Vietnamese</p><p>    for (int i = 0; i &lt; s.length(); i++) {</p><p>        if (s[i] &gt;= '0' &amp;&amp; s[i] &lt;= '9') {</p><p>            int m = s[i];</p><p>            tong = tong + m - '0';</p><p>        }</p><p>    }</p><p>    cout &lt;&lt; "tong la cac ky tu so:" &lt;&lt; tong;</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-15 15:10:59 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633967401</guid>
      </item>
      <item>
         <title>Bài 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633971115</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main()</p><p>{</p><p>    int a, b, c;</p><p>    cin &gt;&gt; a &gt;&gt; b &gt;&gt; c;</p><p>    // Check if the 3 sides form a triangle</p><p>    if (a + b &gt; c &amp;&amp; a + c &gt; b &amp;&amp; b + c &gt; a) {</p><p>        if (a <mark> b &amp;&amp; b </mark> c)</p><p>            cout &lt;&lt; "la tam giac deu"; // Equilateral triangle</p><p>        else if (a <mark> b || b </mark> c || a == c)</p><p>            cout &lt;&lt; "la tam giac can"; // Isosceles triangle</p><p>        else if (a <em> a + b </em> b <mark> c </mark><em><mark> c || a </mark></em><mark> a + c </mark><em><mark> c </mark> b </em> b || b <em> b + c </em> c == a * a)</p><p>            cout &lt;&lt; "la tam giac vuong"; // Right triangle</p><p>        else</p><p>            cout &lt;&lt; "la tam giac thuong"; // Scalene triangle</p><p>    } else {</p><p>        cout &lt;&lt; "khong la tam giac"; // Not a triangle</p><p>    }</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-15 15:13:05 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3633971115</guid>
      </item>
      <item>
         <title>Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3637508466</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4577768661/f920835d411718578be0432abfdad184/main.cpp" />
         <pubDate>2025-10-17 11:29:19 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3637508466</guid>
      </item>
      <item>
         <title>Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639010349</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int x;</p><p>    cin &gt;&gt; x;</p><p>    if (x %2 == 0)</p><p>    cout &lt;&lt; "số chẵn ";</p><p>    else</p><p>    cout &lt;&lt; "số lẻ";</p><p>    </p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-19 01:17:45 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639010349</guid>
      </item>
      <item>
         <title>Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639010959</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n, sum = 0; // sum rỗng</p><p>    cin &gt;&gt; n;</p><p>    for (int i = 1; i &lt;= 2*n - 1; i += 2)</p><p>        sum += i;</p><p>    cout &lt;&lt; "Tổng = " &lt;&lt; sum;</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-19 01:19:50 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639010959</guid>
      </item>
      <item>
         <title>bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639013291</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n, sum = 0; // sum rỗng</p><p>    cin &gt;&gt; n;</p><p>    for (int i = 1; i &lt;=n; i ++)</p><p>        sum += (2*i-1);</p><p>    cout &lt;&lt; "Tổng = " &lt;&lt; sum;</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-19 01:27:14 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639013291</guid>
      </item>
      <item>
         <title>bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639014184</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    cout &lt;&lt; "Nhap n: ";</p><p>    cin &gt;&gt; n;</p><p>    int a[n]; // tạo dãy n để lưu số</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        cout &lt;&lt; "Nhap so thu " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>        cin &gt;&gt; a[i];</p><p>    }</p><p>    cout &lt;&lt; "Cac so khong am: ";</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        if (a[i] &gt;= 0) { // ss dương âm</p><p>            cout &lt;&lt; a[i] &lt;&lt; " ";</p><p>        }</p><p>    }</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-19 01:30:21 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639014184</guid>
      </item>
      <item>
         <title>BÀi 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639014257</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    cout &lt;&lt; "Nhap n: ";</p><p>    cin &gt;&gt; n;</p><p>    int a[n]; // tạo dãy n để lưu số</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        cout &lt;&lt; "Nhap so thu " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>        cin &gt;&gt; a[i];</p><p>    }</p><p>    cout &lt;&lt; "Cac so khong am: ";</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        if (a[i] &gt;= 0) { // ss dương âm</p><p>            cout &lt;&lt; a[i] &lt;&lt; " ";</p><p>        }</p><p>    }</p><p>    return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-19 01:30:36 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639014257</guid>
      </item>
      <item>
         <title>Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639016316</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>#include &lt;string&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    string s;</p><p>    cout &lt;&lt; "Nhập 1 xâu ký tự: ";</p><p>    cin &gt;&gt; s;</p><p>    int tong = 0;</p><p>    </p><p> </p><p>    for (int i = 0; i &lt; s.length(); i++) { // length() dùng để đo chiều dài của xâu ký tự </p><p>        if (s[i] &gt;= '0' &amp;&amp; s[i] &lt;= '9') {</p><p>            int m = s[i] - '0';  </p><p>            tong += m;  </p><p>        }</p><p>    }</p><p>    </p><p>    </p><p>    cout &lt;&lt; "Tổng số trong xâu ký tự: " &lt;&lt; tong &lt;&lt; endl;</p><p>    return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-19 01:37:10 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639016316</guid>
      </item>
      <item>
         <title>Đề 1 Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639018189</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584360356/6f1cda9cc3a4a7bdd0218be60ad770fc/main.cpp" />
         <pubDate>2025-10-19 01:43:09 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639018189</guid>
      </item>
      <item>
         <title>Đề 2, Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639022933</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584359546/b03186ab9b725e451a2bfb60202df218/bai1.cpp" />
         <pubDate>2025-10-19 01:57:48 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639022933</guid>
      </item>
      <item>
         <title>đề 2 câu 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639030831</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584360183/9546ac129aa7ac9a419aab9a21f0c2c8/bai1.cpp" />
         <pubDate>2025-10-19 02:19:19 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639030831</guid>
      </item>
      <item>
         <title>Bài 1 Đề 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639032749</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584360244/004133dfc14244158de2c555cb63781f/main__1_.cpp" />
         <pubDate>2025-10-19 02:24:50 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639032749</guid>
      </item>
      <item>
         <title>Đề 2 Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639036716</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584419820/0cf86836061c187b94914f6de6d5e9c3/BAI2.cpp" />
         <pubDate>2025-10-19 02:34:35 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639036716</guid>
      </item>
      <item>
         <title>Đề 2 Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639038378</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584360356/22fb7bb7c3e8f0ab73366a6809518ca4/main__2_.cpp" />
         <pubDate>2025-10-19 02:38:49 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639038378</guid>
      </item>
      <item>
         <title>Đề 2, Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639042885</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584359546/c8a27cd9de5e9f28eefbb077ff18b63f/bai2.cpp" />
         <pubDate>2025-10-19 02:51:34 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639042885</guid>
      </item>
      <item>
         <title>Bài 2 Đề 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639043678</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584360244/fd7a4e6ee1bc3319c2acfc374c1b12f9/main__2_.cpp" />
         <pubDate>2025-10-19 02:53:52 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639043678</guid>
      </item>
      <item>
         <title>đề 2 bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639046061</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584360183/8065827cf0a96c4a94818a8dd588309b/bai2.cpp" />
         <pubDate>2025-10-19 02:59:56 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639046061</guid>
      </item>
      <item>
         <title>Đề 2,Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639050424</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584419820/e0bd8c26fe09905ee347d5cbd0168e77/main__1_.cpp" />
         <pubDate>2025-10-19 03:10:50 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639050424</guid>
      </item>
      <item>
         <title>Bài 3 đề 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639052286</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584360244/775747a9559926304f622e7dd66a0fb8/main__3_.cpp" />
         <pubDate>2025-10-19 03:14:59 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639052286</guid>
      </item>
      <item>
         <title>Đề 2 - Bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639054040</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584359546/f92cf2a554fb32cf74d33144f4d04558/bai3.cpp" />
         <pubDate>2025-10-19 03:20:24 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639054040</guid>
      </item>
      <item>
         <title>Đề 2 Bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639062529</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584419820/c639c548bbd67ce6f0e3e3ebe1f185b6/main__2_.cpp" />
         <pubDate>2025-10-19 03:43:21 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639062529</guid>
      </item>
      <item>
         <title>Đề 2 - Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639063499</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4584359546/fa200c079d30fd3743e072620fa5b3bc/bai4.cpp" />
         <pubDate>2025-10-19 03:46:19 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3639063499</guid>
      </item>
      <item>
         <title>Đề 2, bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640310197</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4589206859/560ff87bac1879955b5d2b425b3fb444/main.cpp" />
         <pubDate>2025-10-20 04:45:56 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640310197</guid>
      </item>
      <item>
         <title>Đề 2, bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640341728</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4589206859/54958f5be8d6e6c2a118adedd9e2e22e/main__1_.cpp" />
         <pubDate>2025-10-20 05:06:44 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640341728</guid>
      </item>
      <item>
         <title>Đề 2 ,bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640392989</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4589206859/2a32a8000347502120290fcd45d3695c/main__2_.cpp" />
         <pubDate>2025-10-20 05:38:54 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640392989</guid>
      </item>
      <item>
         <title>Đề 2, bài4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640427464</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4589206859/dfa4f44f5ae86b581dfe09dd88c30fec/main__3_.cpp" />
         <pubDate>2025-10-20 06:00:19 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3640427464</guid>
      </item>
      <item>
         <title>Đề 3</title>
         <author>tinhock9nhd</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644535780</link>
         <description><![CDATA[<p><strong>Câu 1: Kiểm tra số nguyên tố (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU1.*</strong></p><p>Nhập một số nguyên dương x, kiểm tra xem x có phải là số  nguyên tố hay không? </p><p>Số nguyên tố là <mark>một số nguyên không âm chỉ có 2 ước là 1 và chính nó</mark>. Ví dụ:</p><p>Các số nguyên tố nhỏ hơn 100 được liệt kê như sau: <br>2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.</p><p><strong><em>Ví dụ 1:</em></strong></p><p><strong>INPUT:5 </strong></p><p><strong>OUTPUT: 5 là số nguyên tố</strong></p><p><strong>Giải thích: </strong>Vì 5 chỉ có 2 ước số là 1 và 5.</p><p><strong><em>Ví dụ 2:</em></strong></p><p><strong>INPUT: 12 </strong></p><p><strong>OUTPUT: 12 không phải là số nguyên tố</strong></p><p><strong>Giải thích: </strong>Vì 12 có các ước số là 1, 2, 3, 4, 6 và 12 (nhiều hơn 2 ước) nên 12 không phải là số nguyên tố. </p><p><br/></p><p><strong>Câu 2: Tổng các tích của số tự nhiên liền kề(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU2.*</strong></p><p>Nhập một số nguyên dương n. Tính tổng S = 1.2 + 2.3 + 3.4 + 4.5 + … + n(n + 1).</p><p><strong><em>Ví dụ</em></strong><em>:</em></p><p>INPUT: 5</p><p>OUTPUT: S=70</p><p>Giải thích: Sử dụng vòng lặp for (int i=1;i&lt;=n;i++)</p><p>Tong=1.2+2.3+3.4+4.5+5.6=70</p><p><br/></p><p><strong>Câu 3: Các số chia hết cho 3 và 5 (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU3.*</strong></p><p>Nhập một dãy các số nguyên gồm n số. In ra màn hình các số chia hết cho 3 và 5.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:</strong></p><ul><li><p>Nhập n: 5</p></li><li><p>Nhập số thứ 1: 4</p></li><li><p>Nhập số thứ 2: 9</p></li><li><p>Nhập số thứ 3: 15</p></li><li><p>Nhập số thứ 4: 30</p></li><li><p>Nhập số thứ 5: 12</p></li></ul><p><strong>OUTPUT</strong>: Các số chia hết cho 3 và 5 là: 15 30 </p><p><strong>Giải thích:</strong> Khi nhập n=5 ta có vòng lặp Nhập số thứ i được thực hiện 5 lần với các giá trị lần lượt là 4, 9, 15, 30, 12. Kết quả in ra:</p><p><strong><em>Các số chia hết cho 3 và 5 là: 15 30</em></strong></p><p>(Vì chỉ có 15 và 30 cùng chia hết cho 3 và 5)</p><p><br/></p><p><strong>Câu 4: Số kí tự chữ hoa trong xâu (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU4.*</strong></p><p>Nhập một xâu kí tự s. Hãy đổi tất cả các kí tự chữ thường trong xâu s thành chữ in hoa.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT: </strong>Abcd20Ghi2jKl5mn</p><p><strong>OUTPUT: </strong>Chuyển chữ in hoa là: ABCD20GHI2JKL5MN </p><p><strong>Giải thích: </strong>Trong xâu s có các kí tự số là A, K vậy có 2 kí tự là chữ hoa.</p><p><br/></p><p><strong>Câu 5: Đọc số (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU5.*</strong></p><p>Nhập vào một số nguyên có 3 chữ số, hãy in ra cách đọc của nó.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPPUT: 135</strong></p><p><strong>OUTPUT: Một trăm ba mươi lăm</strong></p><p><strong>Giải thích: khi nhập n=135, ta sử dụng tách số n thành 3 số a (hàng trăm), b (hàng chục) và c (hàng đơn vị sau đó dùng switch .. case để ghép vào biến docso)</strong></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-22 04:15:58 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644535780</guid>
      </item>
      <item>
         <title>Đề 2, bài5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644589463</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4603086852/8e0c1934fd3ee2b8e68f76ed2ca4fb52/main.cpp" />
         <pubDate>2025-10-22 04:50:54 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644589463</guid>
      </item>
      <item>
         <title>Đề 3, bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644635994</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4603178145/ab5e19603f1de1b2db7e9a0d745b0653/main__1_.cpp" />
         <pubDate>2025-10-22 05:19:52 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644635994</guid>
      </item>
      <item>
         <title>Đề 3 , bài2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644671438</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4603178145/a6c30b634869fce22eaa0c0ebeec519f/untitled__1_.cpp" />
         <pubDate>2025-10-22 05:44:23 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3644671438</guid>
      </item>
      <item>
         <title>đề 3, bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3651909256</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4629568244/ae2b905cfc10836db7d1287fa218e77e/main.cpp" />
         <pubDate>2025-10-27 05:30:29 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3651909256</guid>
      </item>
      <item>
         <title>Đề 3, bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3651941203</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4629568244/445a079f695846994c9b9f62d63b4e5a/main__1_.cpp" />
         <pubDate>2025-10-27 05:51:28 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3651941203</guid>
      </item>
      <item>
         <title>Đề 4</title>
         <author>tinhock9nhd</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3656282571</link>
         <description><![CDATA[<p><strong>Câu 1: Kiểm tra số Amstrong (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU1.*</strong></p><p>Nhập một số nguyên dương x, kiểm tra xem x có phải là số  Armstrong hay không? (<strong><em>Số Armstrong</em></strong> có ba chữ <em>số</em> là một <strong><em>số</em></strong> nguyên sao cho tổng lập phương các chữ <em>số</em> của nó bằng chính nó). Ví dụ, 371 là <strong><em>số Armstrong</em></strong> vì 3 ^ 3 + 7 ^ 3 + 1 ^ 3 = 371 Ví dụ:</p><p><strong><em>Ví dụ 1:</em></strong></p><p><strong>INPUT:153</strong></p><p><strong>OUTPUT: 153 là số Armstrong</strong></p><p><strong>Giải thích: </strong>Vì các chữ số của số 153 là 1, 5 và 3. Mà 1<sup>3</sup>+5<sup>3</sup>+3<sup>3</sup>=1+125+27=153</p><p><strong><em>Ví dụ 2:</em></strong></p><p><strong>INPUT: 129 </strong></p><p><strong>OUTPUT: 129 không phải là số Armstrong</strong></p><p><strong>Giải thích: </strong>Vì 1<sup>3</sup> + 2<sup>3</sup> + 9<sup>3</sup>=1+8+729=738</p><p><br/></p><p><strong>Câu 2: Tổng các tích của số tự nhiên liền kề(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU2.*</strong></p><p>Nhập một số nguyên dương n. Tính tổng S =1/2.3+2/3.4+3/4.5+...+n/n.(n+1)</p><p><strong><em>Ví dụ</em></strong><em>:</em></p><p>INPUT: 5</p><p>OUTPUT: S=0.735714286</p><p>Giải thích: Sử dụng vòng lặp for (int i=1;i&lt;=n;i++)</p><p>Tong=1.2+2.3+3.4+4.5+5.6=0.735714286</p><p><br/></p><p><strong>Câu 3: Số lớn nhất và số nhỏ nhất(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU3.*</strong></p><p>Nhập một dãy các số nguyên gồm n số. In ra màn hình giá trị số lớn nhất và giá trị số nhỏ nhất trong dãy.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:</strong></p><ul><li><p>Nhập n: 5</p></li><li><p>Nhập số thứ 1: 4</p></li><li><p>Nhập số thứ 2: 9</p></li><li><p>Nhập số thứ 3: 15</p></li><li><p>Nhập số thứ 4: 30</p></li><li><p>Nhập số thứ 5: 12</p></li></ul><p><strong>OUTPUT</strong>: Số lớn nhất là: 30</p><p>                 Số nhỏ nhất là: 4</p><p><strong>Giải thích:</strong> Khi nhập n=5 ta có vòng lặp Nhập số thứ i được thực hiện 5 lần với các giá trị lần lượt là 4, 9, 15, 30, 12. Ta sử dụng 2 biến min, max gán cho giá trị a[0] sau đó chạy for để so sánh với tất cả các giá trị còn lại)</p><p><br/></p><p><strong>Câu 4: Số kí tự chữ hoa trong xâu (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU4.*</strong></p><p>Nhập một xâu kí tự s là một họ tên (Bao gồm các chữ cái và khoảng trắng). Hãy chuẩn hóa họ tên thành In hoa đầu mỗi từ.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT: </strong>ngUyen hoNg   daO</p><p><strong>OUTPUT: </strong>Chuẩn hóa: Nguyen Hong  Dao </p><p><strong>Giải thích: </strong>Hãy đổi tất cả các ký tự thành chữ thường, sau đó đổi ký tự i đầu tên thành chữ In hoa rồi tiếp tục vét cạn từ i đến hết để đổi ký tự chữ đầu từ thành chữ In. </p><p><br/></p><p><strong>Câu 5: <em>Định đề Bertrand</em> (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU5.*</strong></p><p>Định đề Bertrand phát biểu rằng với bất kỳ số nguyên 𝑛, luôn tồn tại ít nhất một số nguyên tố P sao cho 𝑛 + 1 ≤ 𝑝 ≤ 2𝑛. Nhập số 𝑛, in ra các số nguyên tố thuộc đoạn [𝑛 + 1; 2𝑛]. </p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPPUT: 10</strong></p><p><strong>OUTPUT: 11 13 17 19</strong></p><p><strong>Giải thích: Sử dụng for i chạy từ n+1 đến 2n để kiểm tra số i nào là số nguyên tố thì in ra.</strong></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-29 08:53:52 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3656282571</guid>
      </item>
      <item>
         <title>Đề 5</title>
         <author>tinhock9nhd</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3656365378</link>
         <description><![CDATA[<p><strong>Câu 1: Số đảo (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU1.*</strong></p><p>Viết chương trình nhập vào một số nguyên dương 𝑛 (𝑛 ≤ 1015) .<br>Hãy in ra các yêu cầu sau:<br>• Số chữ số của 𝑛,<br>• Tổng các chữ số của 𝑛. </p><p>•  Số đảo ngược của số n<br><strong><em>Ví dụ 1:</em></strong></p><p><strong>INPUT:123</strong></p><p><strong>OUTPUT: Số chữ số: 3</strong></p><p><strong>                   Tổng các chữ số: 6</strong></p><p><strong>                   Số đảo ngược: 321</strong></p><p><strong>Giải thích: </strong>Sử dụng vòng lặp While để lấy từng chữ số của số n cho đến 0, sau mỗi lần lấy ta thực hiện việc đếm, tính tổng và cộng vào sodaonguoc.</p><p><br/></p><p><strong>Câu 2: Tổng các tích của số tự nhiên liền kề(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU2.*</strong></p><p>Nhập một số nguyên dương n. Tính tổng 𝑆 = 1<sup>4</sup> + 2<sup>4</sup> + ⋯ + 𝑛<sup>4</sup> <br><strong><em>Ví dụ</em></strong><em>:</em></p><p>INPUT: 5</p><p>OUTPUT: S=979</p><p>Giải thích: Sử dụng vòng lặp for (int i=1;i&lt;=n;i++), dựa vào biểu thức cuối cùng là n<sup>4</sup> ta chuyển thành i*i*i*i cộng dồn vào S)</p><p><br/></p><p><br/></p><p><strong>Câu 3: Sắp xếp(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU3.*</strong></p><p>Nhập một dãy các số nguyên gồm n số. In ra màn hình dãy số sắp xếp theo thứ tự tăng dần.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:</strong></p><ul><li><p>Nhập n: 5</p></li><li><p>Nhập số thứ 1: 4</p></li><li><p>Nhập số thứ 2: 9</p></li><li><p>Nhập số thứ 3: 15</p></li><li><p>Nhập số thứ 4: 30</p></li><li><p>Nhập số thứ 5: 12</p></li></ul><p><strong>OUTPUT</strong>: 4 9 12 15 30</p><p><strong>Giải thích:</strong> Khi nhập n=5 ta có vòng lặp Nhập số thứ i được thực hiện 5 lần với các giá trị lần lượt là 4, 9, 15, 30, 12. Ta sử dụng 2 vòng lặp for để hoán đổi giá trị nhỏ lên trên (nổi bọt)</p><p><br/></p><p><strong>Câu 4: Xóa khoảng trắng thừa trong xâu (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU4.*</strong></p><p>Nhập một xâu kí tự s là một họ tên (Bao gồm các chữ cái và khoảng trắng). Hãy chuẩn hóa họ tên không còn khoảng trắng thừa và đổi thành In hoa đầu mỗi từ.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:          </strong>ngUyen                  hoNg     daO   </p><p><strong>OUTPUT: </strong>Chuẩn hóa: Nguyen Hong Dao </p><p><strong>Giải thích: </strong>Hãy xóa tất cả khoảng trắng đầu xâu S bằng While, tiếp theo xóa khoảng trắng i khi ký tự i+1 là khoảng trắng. Đổi tất cả các ký tự thành chữ thường, sau đó đổi ký tự đầu tên thành chữ In hoa rồi tiếp tục vét cạn từ ký tự thứ 2 đến hết để đổi ký tự chữ đầu từ thành chữ In. </p><p><br/></p><p><strong>Câu 5: <em>Định đề Bertrand</em> (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU5.*</strong></p><p>Cho một xâu 𝑆 có độ dài không quá 255 ký tự và có chứa ký tự số.<br>Hãy sắp xếp các ký tự số trong xâu 𝑆 theo thứ tự không giảm nhưng vẫn giữ nguyên vị trí ban đầu của các ký tự khác (nếu có) ở trong xâu.  </p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPPUT: </strong>Acb27h1h92gg</p><p><strong>OUTPUT: </strong>Acb12h2h79gg</p><p><strong>Giải thích: Sử dụng 2 for i, j chạy như sắp xếp dãy sau đó in ra.</strong></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-10-29 10:09:30 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3656365378</guid>
      </item>
      <item>
         <title>Đề 3, bài 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3657981349</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4650018644/b0d78752a0ead65711295f143bbf4178/main.cpp" />
         <pubDate>2025-10-30 04:56:07 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3657981349</guid>
      </item>
      <item>
         <title>Đề 4, bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3658030617</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4650018644/743cb92a54e739af2ad3342c1c249ffe/main__1_.cpp" />
         <pubDate>2025-10-30 05:23:09 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3658030617</guid>
      </item>
      <item>
         <title>Đề 4, bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3658045105</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4650018644/157c9f1b9ee2f0cc705ad809e172e96f/main__2_.cpp" />
         <pubDate>2025-10-30 05:32:05 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3658045105</guid>
      </item>
      <item>
         <title>Đề 3</title>
         <author>2505_</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3661169556</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4542431569/4a6ee3bcc56bf21a5fff681434cbeab0/de3.cpp" />
         <pubDate>2025-11-01 11:14:42 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3661169556</guid>
      </item>
      <item>
         <title>đề 4, bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662848553</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4670413015/6fff41f57789adca56f0aa7162080502/main.cpp" />
         <pubDate>2025-11-03 04:58:07 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662848553</guid>
      </item>
      <item>
         <title>đề 4 bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662858467</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int x;</p><p>    cout &lt;&lt;"nhập số 1 nguyên dương: ";</p><p>    cin &gt;&gt; x;</p><p>    int a, b, c;</p><p>    a = x / 100;</p><p>    b =( x % 100 )/10;</p><p>    c = x % 10;</p><p>    if (a*a*a+b*b*b+c*c*c==x) </p><p>        cout&lt;&lt;x&lt;&lt;"là số amstrong: ";</p><p>        else</p><p>        cout&lt;&lt;x&lt;&lt;"không là số amstrong: ";</p><p>        return 0;</p><p>    </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 05:04:51 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662858467</guid>
      </item>
      <item>
         <title>Đề 4 câu1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662860660</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    cout &lt;&lt; "Nhập số nguyên dương:";</p><p>    cin &gt;&gt; n;</p><p>    int a,b,c;</p><p>    a = n / 100;</p><p>    b = (n % 100) / 10;</p><p>    c = n % 10;</p><p>    if(a*a*a+b*b*b+c*c*c == n)</p><p>    cout &lt;&lt; "là số armstrong";</p><p>    else</p><p>    cout &lt;&lt; "không là số armstrong";</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 05:06:16 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662860660</guid>
      </item>
      <item>
         <title>Đề 4-Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662867519</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int x;</p><p>    cout &lt;&lt; "Nhập số nguyên dương: ";</p><p>    cin &gt;&gt; x;</p><p>    int a = x / 100;</p><p>    int b = (x % 100) / 10;</p><p>    int c = x % 10;</p><p>    if (a*a*a + b*b*b + c*c*c == x)</p><p>        cout &lt;&lt; x &lt;&lt; " là số armstrong";</p><p>    else</p><p>        cout &lt;&lt; x &lt;&lt; " không là số armstrong";</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 05:10:48 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662867519</guid>
      </item>
      <item>
         <title>Đề 4- Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662869305</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4670430423/1b81e28e29b758e32b660fd0d7a0d185/8T1.cpp" />
         <pubDate>2025-11-03 05:11:44 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662869305</guid>
      </item>
      <item>
         <title>Đề 4 - Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662876614</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4670480424/53d223d090447efd2b7e9489a6fc019e/bai1.cpp" />
         <pubDate>2025-11-03 05:16:32 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662876614</guid>
      </item>
      <item>
         <title>đề 4 bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662890881</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4670416749/484cc5d5247dba341a8c5bb793d4cdc4/main__2_.cpp" />
         <pubDate>2025-11-03 05:24:34 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662890881</guid>
      </item>
      <item>
         <title>Đề 4 bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662902170</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int sum = 0;</p><p>    int n;</p><p>    cout &lt;&lt; "Nhập sô nguyêna: ";</p><p>    cin &gt;&gt; n;</p><p>    for (int i = 1; i &lt;= n; i++)</p><p>    sum += i / i*(i + 1);</p><p>    </p><p>    cout &lt;&lt; "S = " &lt;&lt; sum;</p><p>    </p><p>    return 0;</p><p>}   </p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 05:32:04 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662902170</guid>
      </item>
      <item>
         <title>Đề 4-Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662903560</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n; </p><p>    cout &lt;&lt;"Nhập số nguyên dương n";</p><p>    cin &gt;&gt; n;</p><p>    int sum=0;</p><p>    for(int i=1; i&lt;=n; i++){</p><p>        sum+=i/ i*(i+1);</p><p>    }</p><p>    cout &lt;&lt;"S="&lt;&lt;sum;</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 05:33:02 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662903560</guid>
      </item>
      <item>
         <title>đề 4- bài2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662906666</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>int sum = 0;</p><p>int n;</p><p>cout &lt;&lt; "Nhập sô nguyêna: ";</p><p>cin &gt;&gt; n;</p><p>for (int i = 1; i &lt;= n; i++)</p><p>sum += i / i*(i + 1);</p><p><br/></p><p>cout &lt;&lt; "S = " &lt;&lt; sum;</p><p><br/></p><p>return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 05:35:28 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662906666</guid>
      </item>
      <item>
         <title>Đề 4- bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662908586</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4670430423/5dfc7a4530446201c9cb67202019624a/main__1_.cpp" />
         <pubDate>2025-11-03 05:36:56 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662908586</guid>
      </item>
      <item>
         <title>Đề 4, Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662923069</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4670727202/bf9569892b8c71c95e774e4223001dc3/main__1_.cpp" />
         <pubDate>2025-11-03 05:47:48 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662923069</guid>
      </item>
      <item>
         <title>đề 4 bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662940989</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4670665290/6396e151cf4a638486794461aac50534/main__3_.cpp" />
         <pubDate>2025-11-03 06:00:53 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662940989</guid>
      </item>
      <item>
         <title>đề 4 bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662952660</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    cout &lt;&lt; "Nhập n: ";</p><p>    cin &gt;&gt; n;</p><p>    int a[n];</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        cout &lt;&lt; "Nhập số thứ " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>        cin &gt;&gt; a[i];</p><p>    }</p><p>    int min = a[0], max = a[0];</p><p>    for (int i = 1; i &lt; n; i++) {</p><p>        if (a[i] &gt; max) {</p><p>            max = a[i];</p><p>        }</p><p>        if (a[i] &lt; min) {</p><p>            min = a[i];</p><p>        }</p><p>    }</p><p>    cout &lt;&lt; "Số lớn nhất là: " &lt;&lt; max &lt;&lt; endl;</p><p>    cout &lt;&lt; "Số nhỏ nhất là: " &lt;&lt; min &lt;&lt; endl;</p><p>    return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 06:10:20 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3662952660</guid>
      </item>
      <item>
         <title>Đề 4-Bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3663478627</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>int n;</p><p>cout &lt;&lt; "Nhập n: ";</p><p>cin &gt;&gt; n;</p><p>int a[n];</p><p>for (int i = 0; i &lt; n; i++) {</p><p>cout &lt;&lt; "Nhập số thứ " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>cin &gt;&gt; a[i];</p><p>}</p><p>int min = a[0], max = a[0];</p><p>for (int i = 1; i &lt; n; i++) {</p><p>if (a[i] &gt; max) {</p><p>max = a[i];</p><p>}</p><p>if (a[i] &lt; min) {</p><p>min = a[i];</p><p>}</p><p>}</p><p>cout &lt;&lt; "Số lớn nhất là: " &lt;&lt; max &lt;&lt; endl;</p><p>cout &lt;&lt; "Số nhỏ nhất là: " &lt;&lt; min &lt;&lt; endl;</p><p>return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-03 12:52:37 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3663478627</guid>
      </item>
      <item>
         <title>Đề 4, bài5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669313553</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692517672/ecb835ef329780f9f8dc79c0da3790ac/main.cpp" />
         <pubDate>2025-11-06 04:29:54 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669313553</guid>
      </item>
      <item>
         <title>đề 5 bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669355517</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692601917/8fed285dfcc1633d10fde061c40f11de/main.cpp" />
         <pubDate>2025-11-06 04:55:19 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669355517</guid>
      </item>
      <item>
         <title>De 5-bai 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669361842</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692581822/6e8010ac66b4438d3f10f3dbdecdf66e/main.cpp" />
         <pubDate>2025-11-06 04:59:13 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669361842</guid>
      </item>
      <item>
         <title>ĐỀ 5-Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669362685</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692629318/8952d549df1f939ce1061b825066ccbc/main.cpp" />
         <pubDate>2025-11-06 04:59:42 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669362685</guid>
      </item>
      <item>
         <title>Đề 5, bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669366134</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692517672/72f46d1eacd60472d9f99704b1c0fb9b/untitled.cpp" />
         <pubDate>2025-11-06 05:01:29 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669366134</guid>
      </item>
      <item>
         <title>Đề 5 câu 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669369899</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692601081/0fb61c95c486db947bdc57885363b43d/main.cpp" />
         <pubDate>2025-11-06 05:03:20 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669369899</guid>
      </item>
      <item>
         <title>ĐỀ 5 - Câu 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669370773</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692591337/9ed0a884d2015fb03cacbe6f00e10f97/main.cpp" />
         <pubDate>2025-11-06 05:03:46 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669370773</guid>
      </item>
      <item>
         <title>Đề 5  câu 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669371903</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692602391/87eae55d3d0d31ccaf1ac5d0fbe44a47/main.cpp" />
         <pubDate>2025-11-06 05:04:21 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669371903</guid>
      </item>
      <item>
         <title>đề 5-bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669374492</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main(){</p><p>    int n;</p><p>    cout&lt;&lt;"Nhap so nguyen : ";</p><p>    cin&gt;&gt;n;</p><p>    int dem = 0;</p><p>    int sodao = 0;</p><p>    int tong = 0;</p><p>    while(n&gt;0){</p><p>        int du = 0;</p><p>        du = n%10;</p><p>        dem ++;</p><p>        tong += du;</p><p>        sodao = sodao*10+du;</p><p>        n /= 10;</p><p>    }</p><p>    cout&lt;&lt;"So dao: "&lt;&lt;sodao;</p><p>    cout&lt;&lt;" ";</p><p>    cout&lt;&lt;"Tong: "&lt;&lt;tong;</p><p>    cout&lt;&lt;" ";</p><p>    cout&lt;&lt;"dem: "&lt;&lt;dem;</p><p>    cout&lt;&lt;" ";</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 05:05:47 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669374492</guid>
      </item>
      <item>
         <title>Đề 5-bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669396843</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>int n;</p><p>cout &lt;&lt;"Nhập số nguyên: ";</p><p>cin &gt;&gt;n;</p><p><br/></p><p>int dem=0;</p><p>int tong=0;</p><p>int sodao=0;</p><p><br/></p><p>while(n&gt;0) {</p><p>int du=0;</p><p>du = n%10;</p><p>dem ++;</p><p>tong += du;</p><p>sodao = sodao*10+ du;</p><p>n /=10;</p><p>}</p><p>cout &lt;&lt;"các chữ số là "&lt;&lt;dem&lt;&lt; endl;</p><p>cout &lt;&lt;"tổng chữ số là "&lt;&lt;tong&lt;&lt; endl;</p><p>cout &lt;&lt;"số đảo ngược là " &lt;&lt;sodao&lt;&lt; endl;</p><p>return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 05:17:11 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669396843</guid>
      </item>
      <item>
         <title>ĐỀ 5-Bài2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669400335</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692629318/a74461cff7d5322d4867e6cf421f87af/main__1_.cpp" />
         <pubDate>2025-11-06 05:19:04 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669400335</guid>
      </item>
      <item>
         <title>Đề 5-bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669408433</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    cout &lt;&lt;"Nhập số nguyên: ";</p><p>    cin &gt;&gt;n;</p><p>    int S=0;</p><p>    for (int i=0;i&lt;=n;i++)</p><p>    S +=i*i*i*i;</p><p>    cout &lt;&lt;"S= " &lt;&lt; S;</p><p>    return 0; </p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 05:23:19 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669408433</guid>
      </item>
      <item>
         <title>đề 5 bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669410661</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692601917/524bd17e32afc785c4469dff6ce5d92a/main__1_.cpp" />
         <pubDate>2025-11-06 05:24:23 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669410661</guid>
      </item>
      <item>
         <title>Đề 5 câu 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669411236</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692601081/f8cb5091f6322ac33ee8b6a152da2418/cau2.cpp" />
         <pubDate>2025-11-06 05:24:44 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669411236</guid>
      </item>
      <item>
         <title>đề 5 bài2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669411295</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>int n;</p><p>cout &lt;&lt;"Nhập số nguyên: ";</p><p>cin &gt;&gt;n;</p><p>int S=0;</p><p>for (int i=0;i&lt;=n;i++)</p><p>S +=i*i*i*i;</p><p>cout &lt;&lt;"S= " &lt;&lt; S;</p><p>return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 05:24:46 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669411295</guid>
      </item>
      <item>
         <title>ĐỀ 5 - Câu 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669413730</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692591337/9c723e447febd60d222a70ae6f647464/main__1_.cpp" />
         <pubDate>2025-11-06 05:26:04 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669413730</guid>
      </item>
      <item>
         <title>Đề 5 - bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669437365</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    int dem = 0, tong = 0, sodao = 0, du;</p><p>    cout &lt;&lt; "Nhập n: ";</p><p>    cin &gt;&gt; n;</p><p>    </p><p>    while (n &gt; 0) {</p><p>        du = n % 10;        </p><p>        dem++;              </p><p>        tong += du;         </p><p>        sodao = sodao * 10 + du;  </p><p>        n /= 10;            </p><p>    }</p><p>    </p><p>    cout &lt;&lt; "Số chữ số: " &lt;&lt; dem &lt;&lt; endl;</p><p>    cout &lt;&lt; "Tổng các chữ số: " &lt;&lt; tong &lt;&lt; endl;</p><p>    cout &lt;&lt; "Số đảo ngược: " &lt;&lt; sodao &lt;&lt; endl;</p><p>            </p><p>    return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 05:41:08 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669437365</guid>
      </item>
      <item>
         <title>Đề 5 - Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669437950</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main () {</p><p>    int n, s = 0;</p><p>    cout &lt;&lt; "Nhập n: ";</p><p>    cin &gt;&gt; n;</p><p>    </p><p>    for (int i = 0; i &lt;= n; i++)</p><p>    s += i*i*i*i;</p><p>    </p><p>    cout &lt;&lt; s;</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 05:41:31 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669437950</guid>
      </item>
      <item>
         <title>Đề 5 câu 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669440861</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692602391/7324c3e754725f5357e607f52e151ea6/main__1_.cpp" />
         <pubDate>2025-11-06 05:43:39 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669440861</guid>
      </item>
      <item>
         <title>Đề 5 câu 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669498731</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692601081/b195e43e2e716be4d7768160dae4587f/bai3.cpp" />
         <pubDate>2025-11-06 06:23:13 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669498731</guid>
      </item>
      <item>
         <title>Đề 5 - Bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669499193</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int n;</p><p>    cout &lt;&lt; "Nhập n: ";</p><p>    cin &gt;&gt; n;</p><p>    int a[n];</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        cout &lt;&lt; "Nhập số thứ " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>        cin &gt;&gt; a[i];</p><p>    }</p><p>    for (int i = 0; i &lt; n - 1; i++) {</p><p>        for (int j = 0; j &lt; n - 1 - i; j++) {</p><p>            if (a[j] &gt; a[j]) {</p><p>                int tam = a[j];</p><p>                a[j] = a[j];</p><p>                a[j] = tam;</p><p>            }</p><p>        }</p><p>    }</p><p>    cout &lt;&lt; " ";</p><p>    for (int i = 0; i &lt; n; i++) {</p><p>        cout &lt;&lt; a[i] &lt;&lt; " ";</p><p>    }</p><p>    cout &lt;&lt; endl;</p><p>    return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 06:23:34 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669499193</guid>
      </item>
      <item>
         <title>ĐỀ 5 - Câu 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669502769</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692591337/a2ea83a636d71b00de4bd4c2d119611b/Bai3.cpp" />
         <pubDate>2025-11-06 06:25:55 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669502769</guid>
      </item>
      <item>
         <title>Đề 5-bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669508399</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    int tam=0;</p><p>    int n;</p><p>    cout &lt;&lt;"Nhập số nguyên: ";</p><p>    cin &gt;&gt;n;</p><p>    int a[n];</p><p>    for (int i=0;i&lt;n;i++) {</p><p>        cout &lt;&lt;"Nhập số thứ" &lt;&lt; i+1&lt;&lt;":";</p><p>        cin &gt;&gt;a[i];</p><p>    }</p><p>    for (int i=0; i&lt;n-1;i++){</p><p>        for (int j=i+1; j&lt;n;j++) {</p><p>            if (a[i]&gt;a[j]){</p><p>        tam=a[i];</p><p>        a[i]=a[j];</p><p>        a[j]=tam;</p><p>        }</p><p>        }</p><p>    }</p><p>    cout &lt;&lt;"Dãy sắp xếp";</p><p>    for (int i=0;i&lt;n;i++){</p><p>        cout&lt;&lt;a[i]&lt;&lt;" ";</p><p>    }</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 06:29:34 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669508399</guid>
      </item>
      <item>
         <title>đề 5 bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669508892</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>   int n;</p><p>   int a[n];</p><p>   cout &lt;&lt;"nhap so nguyen n: ";</p><p>   cin &gt;&gt;n;</p><p>   for (int i = 0; i &lt; n; i++) {</p><p>            cout &lt;&lt;"nhập số thứ "&lt;&lt;i+1&lt;&lt;":";</p><p>            cin &gt;&gt; a[i];</p><p>   }</p><p>   int tam = 0;</p><p>   for (int i = 0; i&lt;n-1; i++){</p><p>   for (int j = i+1; j &lt; n; j++) {</p><p>       if (a[i] &gt; a[j]) {</p><p>        tam = a[i];</p><p>        a[i] = a[j];</p><p>        a[j] = tam;</p><p>       }</p><p>   }</p><p>   }</p><p>   cout &lt;&lt;"day sap xep: ";</p><p>   for (int i = 0; i &lt; n; i++) {</p><p>        cout &lt;&lt;a[i]&lt;&lt;"";</p><p>    }</p><p>      return 0;</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-06 06:29:57 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669508892</guid>
      </item>
      <item>
         <title>Đề 5 câu 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669510446</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4692602391/3e8318080d0ec00f49f868606f2a15c7/bai3.cpp" />
         <pubDate>2025-11-06 06:31:02 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3669510446</guid>
      </item>
      <item>
         <title>Đề 5- bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672021582</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int main() {</p><p>int n;</p><p>cout &lt;&lt; "Nhập n: ";</p><p>cin &gt;&gt; n;</p><p>int a[n];</p><p>for (int i = 0; i &lt; n; i++) {</p><p>cout &lt;&lt; "Nhập số thứ " &lt;&lt; i + 1 &lt;&lt; ": ";</p><p>cin &gt;&gt; a[i];</p><p>}</p><p>for (int i = 0; i &lt; n - 1; i++) {</p><p>for (int j = 0; j &lt; n - 1 - i; j++) {</p><p>if (a[j] &gt; a[j]) {</p><p>int tam = a[j];</p><p>a[j] = a[j];</p><p>a[j] = tam;</p><p>}</p><p>}</p><p>}</p><p>cout &lt;&lt; " ";</p><p>for (int i = 0; i &lt; n; i++) {</p><p>cout &lt;&lt; a[i] &lt;&lt; " ";</p><p>}</p><p>cout &lt;&lt; endl;</p><p>return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-07 14:57:35 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672021582</guid>
      </item>
      <item>
         <title>ĐỀ 1 - Câu 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672057946</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4701323232/915ef485331bde67b302ebf7712e8127/C_u1.cpp" />
         <pubDate>2025-11-07 15:24:01 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672057946</guid>
      </item>
      <item>
         <title>ĐỀ 1 - Câu 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672058951</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4701323232/f747a4e4c659d3573a026377d847f8e7/C_u2.cpp" />
         <pubDate>2025-11-07 15:24:44 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672058951</guid>
      </item>
      <item>
         <title>ĐỀ 1 - Câu 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672059669</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4701323232/9c8f3b26d5cded4e7875ad1c8fe77df7/C_u3.cpp" />
         <pubDate>2025-11-07 15:25:15 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672059669</guid>
      </item>
      <item>
         <title>ĐỀ 1 - Câu 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672060433</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4701323232/285abdd3fde37b0fd6124cbb537056f1/C_u4.cpp" />
         <pubDate>2025-11-07 15:25:33 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672060433</guid>
      </item>
      <item>
         <title>ĐỀ 1 - Câu 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672060951</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4701323232/be4d7551d893354d99c7795375a69ed4/C_u5.cpp" />
         <pubDate>2025-11-07 15:25:58 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3672060951</guid>
      </item>
      <item>
         <title>Đề 1-Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3681214857</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4736732392/1f74b110a3c791aca4de08c516b568f9/image.png" />
         <pubDate>2025-11-13 13:35:50 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3681214857</guid>
      </item>
      <item>
         <title>Đề 1-Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3681256147</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4736732392/87f63d72f63a3b5ad70ab14b05ed34ef/image.png" />
         <pubDate>2025-11-13 13:59:16 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3681256147</guid>
      </item>
      <item>
         <title>De 1-bai 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683767866</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4747066306/be9b7cf8df61e3fc88986db607019d77/main.cpp" />
         <pubDate>2025-11-15 06:49:03 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683767866</guid>
      </item>
      <item>
         <title>De1-Cau2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683773145</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4747066306/1922d48090a7975b2ae65d8a71f39a46/main.cpp" />
         <pubDate>2025-11-15 07:00:39 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683773145</guid>
      </item>
      <item>
         <title>De 1-cau 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683793209</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4747066306/26a85613bf3baea3c0e962a00f5f4d45/main.cpp" />
         <pubDate>2025-11-15 07:40:09 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683793209</guid>
      </item>
      <item>
         <title>đề 5-câu 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683823887</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>#include &lt;string&gt;</p><p>using namespace std;</p><p>int main() {</p><p>    string S;</p><p>    getline(cin, S);</p><p>    int a[300];</p><p>    int k = 0;</p><p>    // Lay chu so (không dùng char, chi lay S[i])</p><p>    for (int i = 0; i &lt; S.length(); i++) {</p><p>        if (S[i] &gt;= '0' &amp;&amp; S[i] &lt;= '9') {</p><p>            a[k] = S[i] - '0';</p><p>            k++;</p><p>        }</p><p>    }</p><p>    // Sap xep chu so bang 2 vòng for i, j</p><p>    for (int i = 0; i &lt; k; i++) {</p><p>        for (int j = i + 1; j &lt; k; j++) {</p><p>            if (a[j] &lt; a[i]) {</p><p>                int t = a[i];</p><p>                a[i] = a[j];</p><p>                a[j] = t;</p><p>            }</p><p>        }</p><p>    }</p><p>    // Gan lai các chu so da sap xep</p><p>    int p = 0;</p><p>    for (int i = 0; i &lt; S.length(); i++) {</p><p>        if (S[i] &gt;= '0' &amp;&amp; S[i] &lt;= '9') {</p><p>            S[i] = (a[p] + '0');</p><p>            p++;</p><p>        }</p><p>    }</p><p>    cout &lt;&lt; S;</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-15 08:41:34 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3683823887</guid>
      </item>
      <item>
         <title>Đề 1-Bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684122501</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4748864265/86267284a3140265569e72e4a41ab547/image.png" />
         <pubDate>2025-11-15 16:37:13 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684122501</guid>
      </item>
      <item>
         <title>Đề 1 Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684132248</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4748864265/e4ddbdf7d3e514f10d8e3b20359c21b7/image.png" />
         <pubDate>2025-11-15 16:50:03 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684132248</guid>
      </item>
      <item>
         <title>Đề 1-Bài 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684140679</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4748864265/e5838e705d6c2fc5bd936d6aee92f426/image.png" />
         <pubDate>2025-11-15 17:03:21 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684140679</guid>
      </item>
      <item>
         <title>de 1-bai4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684423893</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4750546910/f4164f22ec86d2c10a0278e5510c45cc/main.cpp" />
         <pubDate>2025-11-16 05:18:02 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684423893</guid>
      </item>
      <item>
         <title>De1-cau4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684424109</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4750546910/39b2d319a2c46871df03bcc2e0e69d93/main.cpp" />
         <pubDate>2025-11-16 05:18:45 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684424109</guid>
      </item>
      <item>
         <title>De 2-bai3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684432505</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4750546910/ce76c4d89db6789a13227d997a171fd1/main.cpp" />
         <pubDate>2025-11-16 05:43:19 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3684432505</guid>
      </item>
      <item>
         <title>Đề 5 Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3689538241</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4770066094/ee849eff3273523e48c7743593deb81c/main.cpp" />
         <pubDate>2025-11-19 05:52:03 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3689538241</guid>
      </item>
      <item>
         <title>Đề 5 Bài 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3689573472</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4770066094/dddadc92f9184c4c93780942256d53ab/main__1_.cpp" />
         <pubDate>2025-11-19 06:20:26 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3689573472</guid>
      </item>
      <item>
         <title>Đề 6</title>
         <author>tinhock9nhd</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3699063691</link>
         <description><![CDATA[<p><strong>Câu 1: Số chính phương (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU1.*</strong></p><p>Viết chương trình nhập vào một số nguyên dương 𝑛 (𝑛 ≤ 1015). Hãy cho biết n có phải là số chính phương hay không?</p><p>(Số hoàn thiện <mark>là một số nguyên dương có tổng các ước nguyên dương của nó (không bao gồm chính nó) bằng chính nó</mark>. Ví dụ, 6 là số hoàn thiện vì các ước thực sự của nó là 1, 2, 3 và 1+2+3=6. Các số hoàn thiện đầu tiên là 6, 28, 496 và 8128.&nbsp;<br><strong><em>Ví dụ 1:</em></strong></p><p><strong>INPUT:28</strong></p><p><strong>OUTPUT: 28 là số hoàn thiện</strong></p><p><strong>Giải thích: </strong>Sử dụng vòng lặp for để tìm các số là ước của số n, nếu là ước sẽ cộng dồn vào sum, sau đó so sánh sum và số n để kết luận.</p><p><br/></p><p><strong>Câu 2: Tổng giai thừa(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU2.*</strong></p><p>Nhập một số nguyên dương n. Tính tổng S = 1! + 2! + ⋯ + n!. Kết quả có thể rất lớn nên sẽ chia lấy dư cho 9^10+7<br><strong><em>Ví dụ</em></strong><em>:</em></p><p>INPUT: 2</p><p>OUTPUT: 3 (Ghi ra S tương ứng chia lấy dư cho 10^9 + 7.) </p><p><br/></p><p><br/></p><p><strong>Câu 3: Sắp xếp - Tìm kiếm - Xóa (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU3.*</strong></p><p>Nhập một dãy các số nguyên gồm n số. In ra màn hình dãy số sắp xếp theo thứ tự giảm dần. Nhập vào một số x, cho biết số x có trong dãy hay không? Xóa số x và in ra dãy mới.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:</strong></p><ul><li><p>Nhập n: 5</p></li><li><p>Nhập số thứ 1: 4</p></li><li><p>Nhập số thứ 2: 9</p></li><li><p>Nhập số thứ 3: 15</p></li><li><p>Nhập số thứ 4: 30</p></li><li><p>Nhập số thứ 5: 12</p><p>Nhập số x: 9</p></li></ul><p><strong>OUTPUT</strong>: </p><p>Sap xep giam dan: 30 15 12 9 4</p><p>9 co trong day</p><p>Day moi: 30 15 12 4</p><p><strong>Giải thích:</strong> Khi nhập n=5 ta có vòng lặp Nhập số thứ i được thực hiện 5 lần với các giá trị lần lượt là 4, 9, 15, 30, 12. Ta sử dụng 2 vòng lặp for để hoán đổi giá trị nhỏ lên trên (nổi bọt) hoàn thành việc sắp xếp. Nhập số x, dùng thuật toán tìm tuần tự (nhị phân) xem x có trong dãy (y để lưu vị trí). Dùng thuật toán dồn phần tử để xóa giá trị x trong dãy.</p><p><br/></p><p><strong>Câu 4: Hàm chuẩn hóa (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU4.*</strong></p><p>Nhập một xâu kí tự s là một họ tên (Bao gồm các chữ cái và khoảng trắng). Hãy viết hàm chuẩn hóa họ tên không còn khoảng trắng thừa và đổi thành In hoa đầu mỗi từ.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:          </strong>ngUyen                  hoNg     daO   </p><p><strong>OUTPUT: </strong>Chuẩn hóa: Nguyen Hong Dao </p><p><strong>Giải thích: </strong>Hãy xóa tất cả khoảng trắng đầu xâu S bằng While, tiếp theo xóa khoảng trắng i khi ký tự i+1 là khoảng trắng. Đổi tất cả các ký tự thành chữ thường, sau đó đổi ký tự đầu tên thành chữ In hoa rồi tiếp tục vét cạn từ ký tự thứ 2 đến hết để đổi ký tự chữ đầu từ thành chữ In. </p><p><br/></p><p><strong>Câu 5: <em>Ước số chung lớn nhât và Bội số chung nhỏ nhất</em> (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU5.*</strong></p><p>Nhập hai số nguyên a, b. Tìm ước số chung lớn nhất của và Bội số chung nhỏ nhất của 2 số a, b.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPPUT: </strong>Nhap so a: 16</p><p>                Nhap so b: 12</p><p><strong>OUTPUT: </strong>USCLN(16,12)=4</p><p>                  BSCNN(16,12)=48</p><p><strong>Giải thích: Sử dụng vòng lặp while với điều kiện a khác b, nếu a&gt;b thì a=a-b ngược lại b=b-a sẽ tìm được USCLN, lấy a nhân với b rồi chia cho USCLN sẽ là BSCNN.</strong></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-11-26 05:19:16 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3699063691</guid>
      </item>
      <item>
         <title>Đề 6, Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3699069295</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4809352103/8e3c888c68f4d0a8cf6a664b2e78aadb/main.cpp" />
         <pubDate>2025-11-26 05:24:06 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3699069295</guid>
      </item>
      <item>
         <title>Đề 6, Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3699118453</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4809352103/8b4ee518bd9a44778336dcf0382c6f1d/main__1_.cpp" />
         <pubDate>2025-11-26 06:04:36 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3699118453</guid>
      </item>
      <item>
         <title>Đề 6 bài3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3704522455</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4832499341/d18917c24ac0f15919f868fc63a0771e/main.cpp" />
         <pubDate>2025-12-01 05:57:34 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3704522455</guid>
      </item>
      <item>
         <title>Đề 6  Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3708063059</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4845696549/369b5105d01f4e489761ee11e4ce8196/main.cpp" />
         <pubDate>2025-12-03 05:18:16 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3708063059</guid>
      </item>
      <item>
         <title>Đề 6   Bài 5</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3708099621</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4845696549/40c3d57e77bc3b117b639ca61e96c1a8/main__1_.cpp" />
         <pubDate>2025-12-03 05:53:55 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3708099621</guid>
      </item>
      <item>
         <title>Đề 7</title>
         <author>tinhock9nhd</author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3713952138</link>
         <description><![CDATA[<p><strong>Câu 1: Số phong phú (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU1.*</strong></p><p><strong>Số phong phú</strong> là các số mà tổng các ước số của số đó (không kể chính nó) lớn hơn số đó. Ví dụ, số 12 có tổng các ước số (không kể 12) là 1 + 2 + 3 + 4 + 6 = 16 &gt; 12. Do đó 12 là một số phong phú.&nbsp;Hãy viết chương trình vào một số nguyên n và in kết quả ra màn hình cho biết n có phải là số hoàn hảo, số phong phú hay không?<br><strong><em>Ví dụ 1:</em></strong></p><p><strong>INPUT:12</strong></p><p><strong>OUTPUT: 12 là số phong phú</strong></p><p><strong>Giải thích: </strong>Sử dụng vòng lặp for để tìm các số là ước của số n, nếu là ước sẽ cộng dồn vào sum, sau đó so sánh sum và số n để kết luận.</p><p><br/></p><p><strong>Câu 2: Tổng lũy thừa chia tổng dãy(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU2.*</strong></p><p>Nhập một số nguyên dương n và một số nguyên x. <em>Tính S(n) = x + x^2/(1 + 2) + x^3/(1 + 2 + 3) + … + x^n/(1 + 2 + 3 + …. + N)</em><br><strong><em>Ví dụ</em></strong><em>:</em></p><p>INPUT: 2</p><p>OUTPUT: 3 (Ghi ra S tương ứng chia lấy dư cho 10^9 + 7.) </p><p><br/></p><p><br/></p><p><strong>Câu 3: Chữ số đầu tiên lẻ(4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU3.*</strong></p><p>Nhập một dãy các số nguyên gồm n số. <em>Hãy liệt kê các giá trị trong mảng 1 chiều các số nguyên có chữ số đầu tiên là chữ số lẻ.</em></p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT:</strong></p><ul><li><p>Nhập n: 5</p></li><li><p>Nhập số thứ 1: 4</p></li><li><p>Nhập số thứ 2: 9</p></li><li><p>Nhập số thứ 3: 15</p></li><li><p>Nhập số thứ 4: 30</p></li><li><p>Nhập số thứ 5: 12</p></li></ul><p><strong>OUTPUT</strong>: </p><p>So co so dau tien la so le: 9 15 12 </p><p><strong>Giải thích:</strong> </p><p><br/></p><p><strong>Câu 4: Số nhị phân (4 điểm)</strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU4.*</strong></p><p>Nhập một xâu kí tự. Kiểm tra xem xâu có phải là xâu nhị phân (toàn 0, 1) hay không. Nếu có thì chuyển xâu này sang số thập phân. In kết quả số thập phân trên màn hình.</p><p><br/></p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPUT: 101</strong> </p><p><strong>OUTPUT: </strong>La xau nhi phan</p><p>                 So thap phan: 5 </p><p><strong>Giải thích:</strong></p><p><br/></p><p><strong>Câu 5: <em>Dãy số đối xứng</em></strong></p><p><em>Tên tệp chương trình</em>: <strong>CAU5.*</strong></p><p>Nhập vào 1 dãy số nguyên có n phần tử. (Với n được nhập từ bàn phím)</p><p>a. &nbsp; &nbsp; Kiểm tra dãy số nguyên đó có đối xứng không?</p><p>(VD: dãy số đối xứng : 4 5 -7 5 4 hay 4 7 7 4 hay dãy số 1 2 3 2 không phải là dãy đối xứng).</p><p>b.&nbsp; &nbsp; Sắp xếp dãy số theo thứ tự tăng dần.</p><p><strong><em>Ví dụ:</em></strong></p><p><strong>INPPUT:</strong></p><p><strong>OUTPUT:</strong></p><p><strong>Giải thích: </strong></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-12-08 04:47:12 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3713952138</guid>
      </item>
      <item>
         <title>Đề 7 Bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3713986448</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4870817513/4f7f60a0d84d74700bf27279d57e754f/main.cpp" />
         <pubDate>2025-12-08 05:16:11 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3713986448</guid>
      </item>
      <item>
         <title>Đề 7 Bài 2</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3714024433</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4870817513/1efdbf0d3564f8b1c6cdd2f075b12261/main__2_.cpp" />
         <pubDate>2025-12-08 05:47:42 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3714024433</guid>
      </item>
      <item>
         <title>Đề 7 Bài 3</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3717237000</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4883087052/eb985ea3515e0c14d061c8cd2425401c/main.cpp" />
         <pubDate>2025-12-10 05:24:04 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3717237000</guid>
      </item>
      <item>
         <title>Đề 7 Bài 4</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3717267123</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4883087052/fc453b2780acb076d3be0b157e22396f/main__1_.cpp" />
         <pubDate>2025-12-10 05:57:57 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3717267123</guid>
      </item>
      <item>
         <title>....</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3721292598</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4899668132/bab43b05e7a65115e48fb2421d527442/image.png" />
         <pubDate>2025-12-13 08:36:07 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3721292598</guid>
      </item>
      <item>
         <title>......</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3721313167</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/4899668132/2f36cc64daf269bf0e8a071e442eb778/image.png" />
         <pubDate>2025-12-13 09:32:28 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3721313167</guid>
      </item>
      <item>
         <title>đề 6 bài 1</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3746732901</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/5005141165/471c95d010c038c3bf31eb52e9de5069/main.cpp" />
         <pubDate>2026-01-11 12:50:44 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3746732901</guid>
      </item>
      <item>
         <title>luu bai </title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3759809215</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>    int ktsnt(int n) {</p><p>    int i=2;</p><p>        while(n%i!=0) {</p><p>            i++;</p><p>        }</p><p>        return i;</p><p>    }</p><p>int main() {</p><p>    int n;</p><p>    cin&gt;&gt;n;</p><p>    if(n==1) {</p><p>        cout&lt;&lt;"no";</p><p>        return 1;</p><p>    }</p><p>    if( ktsnt(n) == n ) {</p><p>        cout&lt;&lt;"yes";</p><p>    }else</p><p>    cout&lt;&lt;"no";</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2026-01-22 05:38:52 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3759809215</guid>
      </item>
      <item>
         <title>luu bai</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3759855657</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>using namespace std;</p><p>int sum=1;</p><p>bool ktshh(int n) {</p><p>    for(int i = 2; i&lt;= n; i++) {</p><p>        if(n%i==0) </p><p>            sum+=i;</p><p>    }</p><p>    bool kq=false;</p><p>        if(sum==2*n)</p><p>            kq=true;</p><p>            return kq;</p><p>}</p><p>int main() {</p><p>    int n;</p><p>    cin&gt;&gt;n;</p><p>    if(ktshh(n)) </p><p>        cout&lt;&lt;"yes";</p><p>    else</p><p>        cout&lt;&lt;"no";</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2026-01-22 06:23:53 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3759855657</guid>
      </item>
      <item>
         <title>jzbJI</title>
         <author></author>
         <link>https://padlet.com/totinhocnhd/LaptrinhC/wish/3768785999</link>
         <description><![CDATA[<p>#include &lt;iostream&gt;</p><p>#include &lt;vector&gt;</p><p>using namespace std;</p><p>int main () {</p><p>    int n;</p><p>    int tmp;</p><p>    cin&gt;&gt;n;</p><p>    vector&lt;int&gt;v(n);</p><p>        for (int i=0; i&lt;n; i++) {</p><p>        cin&gt;&gt;tmp;</p><p>        v.push_back(tmp);</p><p>    }</p><p>    for (int i; i&lt;n;i++) {</p><p>        cout&lt;&lt;v[i];</p><p>    }</p><p>    </p><p>    </p><p>    </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2026-01-29 05:56:41 UTC</pubDate>
         <guid>https://padlet.com/totinhocnhd/LaptrinhC/wish/3768785999</guid>
      </item>
   </channel>
</rss>
