<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>TRƯỜNG THCS NGÔ QUỐC TRỊ by VƯỢT QUA THÁCH THỨC!</title>
      <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG</link>
      <description>HSG TIN HỌC-NGUYỄN VIẾT ĐỨC</description>
      <language>en-us</language>
      <pubDate>2021-10-16 07:29:10 UTC</pubDate>
      <lastBuildDate>2025-10-30 01:02:58 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f34e.png</url>
      </image>
      <item>
         <title>CÂU 1: SỐ HỌC</title>
         <author>hstuongnvc2ngoquoctrivithuy</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820839736</link>
         <description><![CDATA[<div><br></div><div><br></div><div><br></div><div><strong>Bài 1</strong>: Cho số nguyên dương gồm bốn chữ số abcd (1000 số &lt;9999) tìm các số có bốn chữ số thỏa mãn abcd=(ab+cd)<sup>2</sup> ghi vào file SOHOC.OUT mỗi dòng 1 số. Ví dụ 3025=(30+25)<sup>2</sup>&nbsp;</div><div>B1: i=1000-&gt; 9999</div><div>B2: cd=abcd mod 100 và ab=abcd div 100</div><div>B3: k=(ab+cd) nếu k*k=i thì xuất i</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1387161758/fc42d785e587383fcbe4dcced286271a/drawing.png" />
         <pubDate>2021-10-16 07:30:19 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820839736</guid>
      </item>
      <item>
         <title>Nguyễn Trường khang</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843258</link>
         <description><![CDATA[<div>Bài 1:số học<br>program b1;<br>uses crt;<br>var i,ab,cd,k:longint;f:text;<br>&nbsp;begin<br>&nbsp; &nbsp;assign('f,'hocso.out');rewrite(f);<br>&nbsp; &nbsp;for i:=1000 to 9999 do<br>&nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; &nbsp; cd:=i mod 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; ab:=i div 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; if(k*k=i) then writeln(f,i);&nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp;end;<br>&nbsp; &nbsp;close(g);<br>&nbsp;readln<br>end.<br>kết quả<br>2025<br>3025<br>9801<br>&nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp;&nbsp;</div><div><br><br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 07:35:30 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843258</guid>
      </item>
      <item>
         <title>Vũ Ngọc Thùy Dương</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843680</link>
         <description><![CDATA[<div>Bài 1 :<br>uses crt;<br>&nbsp;var ab,cd,i,k:longint;<br>&nbsp; begin<br>&nbsp; &nbsp; clrscr;<br>&nbsp; &nbsp; &nbsp; write('ab='); readln(ab);<br>&nbsp; &nbsp; &nbsp;for i:=1000 to 9999 do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cd:=i mod 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ab:=i div 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; if (k*k=i) then&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;writeln(i);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br>readln    end.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 07:36:05 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843680</guid>
      </item>
      <item>
         <title>Trần Nguyệt Quỳnh</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843765</link>
         <description><![CDATA[<div>Bài 1: SỐ HỌC;<br>uses crt;<br>&nbsp;var ab,cd,i,k:longint;<br>&nbsp; begin<br>&nbsp; &nbsp;clrscr;<br>&nbsp; &nbsp; write('ab=');readln(ab);<br>&nbsp; &nbsp; &nbsp; for i:=1000 to 9999 do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; cd:=i mod 100;<br>&nbsp; &nbsp;ab:=i div 100;<br>&nbsp; &nbsp; &nbsp; &nbsp;k:=ab+cd;<br>&nbsp; &nbsp; if k*k=i then writeln(i);<br>&nbsp; &nbsp; &nbsp;end;<br>&nbsp; readln;<br>&nbsp; &nbsp;end.<br><br>kết quả:<br>&nbsp; 2025<br>&nbsp;3025<br>&nbsp;9801<br><br>Bài 3: TƯƠNG ĐƯƠNG<br>uses crt;<br>&nbsp;var a,b:array[0..100] of integer;<br>&nbsp; &nbsp; &nbsp;n,m,i,j,k,kt:integer;<br>&nbsp; begin<br>&nbsp; &nbsp;clrscr;<br>&nbsp; &nbsp; write('n=');readln(n);<br>&nbsp; &nbsp; write('m=');readln(m);<br>&nbsp; &nbsp; &nbsp;i:=2;<br>&nbsp; &nbsp; &nbsp;j:=0;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while n&gt;1 do<br>&nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp;if n mod i=0 then<br>&nbsp; &nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp;if a[j]&lt;&gt;j then<br>&nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;inc(j);<br>&nbsp; &nbsp; &nbsp; &nbsp;a[j]:=i;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end; n:=n div i;<br>&nbsp; &nbsp;end else<br>&nbsp; &nbsp; &nbsp;inc(i);<br>&nbsp; &nbsp; &nbsp;end;<br>&nbsp; &nbsp; &nbsp; &nbsp;i:=2;<br>&nbsp; &nbsp; &nbsp; &nbsp;k:=0;<br>&nbsp; &nbsp;while m&gt;1 do<br>&nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp;if m mod i=0 then<br>&nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; if b[k]&lt;&gt;i then<br>&nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; inc(k);<br>&nbsp; &nbsp; &nbsp; &nbsp;b[k]:=i; end;<br>&nbsp; &nbsp; &nbsp;m:=m div i;&nbsp; end<br>&nbsp; &nbsp; else inc(i);<br>&nbsp; &nbsp; &nbsp; end;<br>&nbsp; &nbsp; &nbsp; &nbsp;kt:=0;<br>&nbsp; &nbsp;if k&lt;&gt;j then kt:=0<br>&nbsp; &nbsp;else<br>&nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp;k:=1;<br>&nbsp; &nbsp; &nbsp; for i:=1 to k do<br>&nbsp; &nbsp; &nbsp; if a[i]&lt;&gt;b[i] then kt:=0;<br>&nbsp; &nbsp; end;<br>&nbsp; &nbsp; &nbsp; &nbsp; write(kt);<br>&nbsp;readln;<br>&nbsp; end.<br><br>Kết quả:<br>&nbsp;n= 12<br>m=60<br> 0</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 07:36:13 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843765</guid>
      </item>
      <item>
         <title>thầy</title>
         <author>hstuongnvc2ngoquoctrivithuy</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843913</link>
         <description><![CDATA[<div>FOR I:=1000 TO 9999 DO<br>BEGIN<br>&nbsp; &nbsp;CD:=<br>&nbsp; &nbsp;AB:=<br>&nbsp; &nbsp;K:=<br>   NẾU KxK=i thì xuất i<br>END;</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 07:36:27 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820843913</guid>
      </item>
      <item>
         <title>Phạm Quang Huy</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820849629</link>
         <description><![CDATA[<div><strong><em>BÀI 1(SỐ HỌC);</em></strong><br>program sohoc;<br>uses crt;<br>var g:text;<br>procedure ghi_file;<br>var i,k,cd,ab:longint;<br>&nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;assign(g,'sohoc.out');<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rewrite(g);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;k:=0;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i:=1000to 9999 do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cd:=i mod 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ab:=i div 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;k:=ab+cd;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(k*k=i)then writeln(g,i);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;close(g);<br>&nbsp; &nbsp; &nbsp; &nbsp; end;<br>begin<br> clrscr;<br>&nbsp; ghi_file;<br>&nbsp; write('moi ban vao file sohoc.out de xem kq');<br> readln;<br>end.<br><br>kq:<br>2025<br>3025<br>9801<br><br><strong><em>BÀI 2(DÃY SỐ)<br></em></strong>program bai1;<br>Uses crt;<br>Var d,g:text;n,i:longint;a:array[1..100]of longint;<br>procedure doc_file;<br>var i:longint;<br>&nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;assign(d,'random.inp');<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rewrite(d);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i:=1 to n do write(d,a[i],' ');<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;close(d);<br>&nbsp; &nbsp; &nbsp; &nbsp; end;<br>procedure ghi_file;<br>var tam,i,j,dem:longint;<br>&nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;assign(g,'random.out');<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rewrite(g);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i:=1 to n do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for j:=i to n do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(a[i]&gt;a[j])then<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tam:=a[i];a[i]:=a[j];a[j]:=tam;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for i:=1 to n do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;write(g,a[i],' ');<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Writeln(g);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i:=0 to 9 do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dem:=0;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for j:=1 to n do if(a[j]=i)then inc(dem);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;writeln(g,i,' : ',dem);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;close(g);<br>&nbsp; &nbsp; &nbsp; &nbsp; end;<br>begin<br>&nbsp;clrscr;<br>&nbsp;randomize;<br>&nbsp; write('n=');readln(n);<br>&nbsp; while(n&gt;100)or(n&lt;1)do<br>&nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;clrscr;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;write('ban da nhap sai dieu kien');<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;write('nhap lai n:');readln(n);<br>&nbsp; &nbsp; &nbsp; &nbsp; end;<br>&nbsp; for i:=1 to n do a[i]:=random(10);<br>&nbsp; doc_file;<br>&nbsp; ghi_file;<br>&nbsp; Writeln('Moi ban vao file RANDOM.INP va file RANDOM.OUT de xem ket qua');<br>&nbsp;readln<br>end.<br><br>KQ:<br>INPUT:<br>6 8 4 8 7 8 0 4 7 2 8<br>OUTPUT:<br>0 2 4 4 6 7 7 8 8 8 8<br>0 : 1<br>1 : 0<br>2 : 1<br>3 : 0<br>4 : 2<br>5 : 0<br>6 : 1<br>7 : 2<br>8 : 4<br>9 : 0<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 07:45:46 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820849629</guid>
      </item>
      <item>
         <title>Tăng Lâm Đông Khoa</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820856381</link>
         <description><![CDATA[<div>Bài 1: SỐ HỌC<br>Program bai1sohoc;<br>Uses crt;<br>Var g:text;i,ab,cd,k,abcd:longint;<br>Begin<br>clrscr;<br>Assign(g,'SOHOC.OUT');rewrite(g);<br>for i:=1000 to 9999 do<br>&nbsp;begin<br>&nbsp; &nbsp;cd:=i mod 100;<br>&nbsp; &nbsp;ab:=i div 100;<br>&nbsp; &nbsp;k:=ab+cd;<br>&nbsp; &nbsp;if(k*k=i)then writeln(g,i);<br>&nbsp;end;<br>Writeln('Moi ban vao file SOHOC.OUT de xem ket qua');<br>close(g);<br>readln<br>end.<br><br>Kết Quả:<br>&nbsp;2025<br>3025<br>9801<br>Bài 2: DÃY SỐ<br>Program d4b2dayso;<br>Uses crt;<br>Var d,g:text;i,n,j,dem,tam:longint;a:array[1..1000]of longint;<br>Begin<br>clrscr;<br>Assign(d,'RANDOM.INP');rewrite(d);<br>Assign(g,'RANDOM.OUT');rewrite(g);<br>&nbsp;write('n=');readln(n);<br>&nbsp; for i:=1 to n do<br>&nbsp; &nbsp;a[i]:=random(10);<br>&nbsp; for i:=1 to n do<br>&nbsp; &nbsp;Write(d,a[i],' ');<br>&nbsp; for i:=1 to n do<br>&nbsp; for j:=i to n do<br>&nbsp; &nbsp;if(a[i]&gt;a[j])then<br>&nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp;tam:=a[i];<br>&nbsp; &nbsp; &nbsp;a[i]:=a[j];<br>&nbsp; &nbsp; &nbsp;a[j]:=tam;<br>&nbsp; &nbsp; end;<br>&nbsp; &nbsp;for i:=1 to n do<br>&nbsp; &nbsp; write(g,a[i],' ');<br>&nbsp; &nbsp; Writeln(g);<br>&nbsp; for i:=0 to 9 do<br>&nbsp; &nbsp;begin<br>&nbsp; &nbsp; dem:=0;<br>&nbsp; &nbsp; for j:=1 to n do<br>&nbsp; &nbsp; &nbsp;if(a[j]=i)then inc(dem);<br>&nbsp; &nbsp; write(g,i,'-');Writeln(g,dem);<br>&nbsp; &nbsp;end;<br>&nbsp;Writeln('Moi ban vao file RANDOM.INP va file RANDOM.OUT de xem ket qua');<br>close(d);<br>close(g);<br>readln<br>end.<br><br>Kết Quả:<br>*****Màn hình*****<br>n=11<br>Moi ban vao file RANDOM.INP va file RANDOM.OUT de xem ket qua<br>*****RANDOM.INP*****<br>5 5 7 8 6 8 5 8 4 6 6&nbsp;<br>*****RANDOM.OUT*****<br>4 5 5 5 6 6 6 7 8 8 8<br>0-0<br>1-0<br>2-0<br>3-0<br>4-1<br>5-3<br>6-3<br>7-1<br>8-3<br>9-0<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 07:56:33 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820856381</guid>
      </item>
      <item>
         <title>Bài 2: Dãy số</title>
         <author>hstuongnvc2ngoquoctrivithuy</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820869255</link>
         <description><![CDATA[<div>-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Tạo dãy số ngẫu nhiên từ 0-9 gồm n phần tử(0&lt;n&lt;100) kết quả ghi ra tệp RANDOM.INP phải sử dụng randomize;</div><div>-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<strong>Sau đó sắp xếp theo chiều tăng dần đồng thời cho biết số lần xuất hiện của các phần tử kết quả xuất ra file RANDOM.OUT gồm 11 dòng(dòng 1 dãy tăng, các dòng còn lại ghi số lần xuất hiện của các số 0-9)</strong></div><div>HƯỚNG DẪN</div><div>&nbsp;<strong>B1</strong>: Tạo cấu trúc</div><div><strong>B2</strong>: Nhập n(0&lt;n&lt;100)</div><div><strong>B3</strong>: tạo mảng ngẫu nhiên n phần tử</div><div>&nbsp; &nbsp; &nbsp;B3.1: i=1-n</div><div>&nbsp; &nbsp; &nbsp;B3.2:a[i]=random(10)</div><div><strong>B4</strong>: Ghi mảng a vào RANDOM.INP</div><div><strong>B5:</strong> Sắp xếp</div><div>&nbsp; &nbsp; &nbsp;<strong>B5.1</strong>: i=1-n</div><div>&nbsp; &nbsp; &nbsp;<strong>B5.2</strong>: j=i-n</div><div>&nbsp; &nbsp; &nbsp;<strong>B5.3</strong>: nếu a[i]&gt;a[j] then {đổi chỗ}</div><div><strong>B6</strong>: i=0-9</div><div><strong>&nbsp; &nbsp; &nbsp;B6.1</strong>:&nbsp; dem=0 j=1-n</div><div><strong>&nbsp; &nbsp; &nbsp;B6.2</strong>:nếu i=a[j] then inc(dem)</div><div>&nbsp; &nbsp; &nbsp;<strong>B6.3</strong>: xuất i,dem</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 08:16:48 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820869255</guid>
      </item>
      <item>
         <title>Nguyễn Trường Khang</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820877759</link>
         <description><![CDATA[<div>Bài 2:Dãy số<br>program b2;<br>uses crt;<br>var g:text;<br>&nbsp; &nbsp; &nbsp; &nbsp;a:array[1..100]of longint;<br>&nbsp; &nbsp; &nbsp; &nbsp;n,i,dem,tam,j:longint;<br>begin<br>&nbsp;assign(g,'dayso.out');rewrite(g);<br>&nbsp;randomize;<br>&nbsp;for i:= 1 to n do a[i]:=random(10);<br>&nbsp;for i:=1 to n do<br>&nbsp;for j:=i to n do if (a[i]&gt;a[j]) then<br>&nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; tam:=a[i];a[i]:=a[j];a[j]:=tam;<br>&nbsp; &nbsp;end; &nbsp;<br>&nbsp;for i:=1 to n do write(g,a[i]:1);<br>&nbsp;for i:=1 to n do<br>&nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp;dem:=0;<br>&nbsp; &nbsp; &nbsp; for j:=0 to 9 do if a[j]=i then inc(dem);<br>&nbsp; &nbsp; &nbsp; writeln(g,i);<br>&nbsp; &nbsp;end;<br>&nbsp;writeln(g,dem);<br>close(g);<br>readln;<br>end.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 08:28:51 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820877759</guid>
      </item>
      <item>
         <title>Lưu Gia Hưng</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820887854</link>
         <description><![CDATA[<div>Bai1:Số học<br>Programbai1;<br>uses crt;<br>var i,ab,cd,k:longint;f,g:text;<br>begin<br>assign(f,'SOHOC.OUT');<br>rewrite(f);<br>for i:=1000 to 9999 do<br>begin<br>ab:=i div 100;<br>cd:=i div 100;<br>if (k*k=i) then writeln(f,i);<br>end;<br>close(g);<br>&nbsp; readln;<br>end.<br>Bai2:dãy số<br>program bai2;<br>uses crt;<br>var a:array[1..100]of longint;<br>i,n,dem,j:longint;f:text;<br>begin<br>for i:=1 to n do<br>a[i]:=random(10);<br>end;<br>begin<br>asaign (f,'RANDOM.INP');rewrite(f);<br>for i:=1 to n do<br>for j:=1 to n do;<br>if a[i]=a[j] then ('');<br>for i:=0 to 9 do<br>dem:=0;<br>for j:=1 to n do<br>if i=a[j] then inc(dem);<br>writeln(i,dem);<br>end;<br>close(g); &nbsp;<br>&nbsp; readln;<br>end.<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 08:43:54 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1820887854</guid>
      </item>
      <item>
         <title>Vũ Ngọc Thùy Dương</title>
         <author>kimquyenvithuy1983</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1821062509</link>
         <description><![CDATA[<div>Bài 2:<br>uses crt;<br>var g:text;<br>&nbsp; &nbsp; &nbsp; a:array[1..1000]of longint;<br>&nbsp; &nbsp; &nbsp; n,i,dem,tam,j:longint;<br>&nbsp; &nbsp; begin<br>&nbsp; clrscr;<br>&nbsp; &nbsp; &nbsp; &nbsp; assign(g,'dayso.out'); rewrite(g);<br>&nbsp; &nbsp; &nbsp; &nbsp; randomize;<br>&nbsp; &nbsp; for i:=1 to n do<br>&nbsp; &nbsp; &nbsp; a[i]:=random(10);<br>&nbsp; &nbsp; for j:=1 to n do<br>&nbsp; &nbsp; &nbsp; if (a[i]&gt;a[j]) then<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tam:=a[i];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a[i]:=a[j];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;a[j]:=tam;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br>&nbsp; &nbsp; &nbsp; &nbsp; for i:=1 to n do write(g,a[i],' ');<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>for i:=1 to n do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dem:=0;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for j:=0 to 9 do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if a[j]=i then<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inc(dem);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; writeln(g,i);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br>writeln(g,dem);<br>&nbsp;close(g);<br>writeln('Go Enter va nhap Random de xem kq')<br>readln&nbsp; &nbsp; end.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-16 12:50:28 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1821062509</guid>
      </item>
      <item>
         <title>Ngô Thị Thảo Ly bài 1 :Số Học</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1821661814</link>
         <description><![CDATA[<div>Program b1;<br>Uses CRT;<br>Var f:text ;n,i,j,k,cd,ab,abcd:longint;<br>Begin<br>Assign(f,'SOHOC.OUT');Rewrite(f);<br>For i:=1000 to 9999 do<br>k:=0;<br>Begin<br>CD:=i mod 100;<br>AB:=i mod 100;<br>K:=(ab+cd);<br>If k*k=i then writeln(f,i);<br>End;<br>Writeln('moi ban go enter de xem ket qua');<br>Close(f);<br>Readln;<br>End.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-17 04:52:37 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1821661814</guid>
      </item>
      <item>
         <title>Bài 3</title>
         <author>hstuongnvc2ngoquoctrivithuy</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837705177</link>
         <description><![CDATA[<div>Bài 3: Tương đương</div><div>Theo Bách khoa toàn thư hai số gọi là <strong>nguyên tố tương đương</strong> nếu chúng <strong>có cùng các ước số nguyên tố</strong></div><div>Ví dụ: 15 và 75</div><div>Vì 15 có các ước: 3 và 5</div><div>Và 75 cũng có các ước 3 và 5</div><div>Kết luận 15 và 75 là hai số nguyên tố tương đương</div><div>12 và 18 đúng nhưng 12 và 60 không vì 60 có thêm ước nt 5</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-23 07:38:41 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837705177</guid>
      </item>
      <item>
         <title>Câu 1: Số chẵn lớn nhất</title>
         <author>hstuongnvc2ngoquoctrivithuy</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837730026</link>
         <description><![CDATA[<div>Cho 5 số nguyên a,b,c,d,e(0&lt;=a,b,c,d,e&lt;=10000). Biết rằng các số nguyên dương đôi một khác nhau<br><strong>Yêu cầu</strong>: Hãy tìm số nguyên dương chẵn lớn nhẩt trong năm số a,b,c,d,e<br><strong>Dữ liệu</strong>:&nbsp; Nhập từ bàn phím 5 số nguyên dương a,b,c,d,e<br><strong>Kết quả:</strong> Xuất ra màn hình số nguyên dương chẵn lớn nhất. Nếu không tìm được số nguyên dương thỏa mãn đề bài thì xuất ra màn hình "Khong tim duoc". Nếu dữ liệu không thỏa mãn đề bài là "Khong thoa man".</div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-23 08:13:47 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837730026</guid>
      </item>
      <item>
         <title>Câu 2: Nhóm trung bình cộng</title>
         <author>hstuongnvc2ngoquoctrivithuy</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837730164</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-10-23 08:13:59 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837730164</guid>
      </item>
      <item>
         <title>Câu 3: Xâu con dài nhất</title>
         <author>hstuongnvc2ngoquoctrivithuy</author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837730228</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-10-23 08:14:05 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837730228</guid>
      </item>
      <item>
         <title>Phạm Yến Linh</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837844775</link>
         <description><![CDATA[<div>Bài 1:<br>program b1;<br>uses crt;<br>var i,ab,cd,k:longint;f:text;<br>&nbsp;begin<br>&nbsp; &nbsp;assign('f,'hocso.out');rewrite(f);<br>&nbsp; &nbsp;for i:=1000 to 9999 do<br>&nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; &nbsp; cd:=i mod 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; ab:=i div 100;<br>&nbsp; &nbsp; &nbsp; &nbsp; if(k*k=i) then writeln(f,i);&nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp;end;<br>&nbsp; &nbsp;close(g);<br>&nbsp;readln<br>end.<br>kết quả<br>2025<br>3025<br>9801</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-23 10:57:24 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837844775</guid>
      </item>
      <item>
         <title>Phạm Yến Linh</title>
         <author></author>
         <link>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837846529</link>
         <description><![CDATA[<div>Bài 2:<br>uses crt;<br>var g:text;<br>&nbsp; &nbsp; &nbsp; a:array[1..1000]of longint;<br>&nbsp; &nbsp; &nbsp; n,i,dem,tam,j:longint;<br>&nbsp; &nbsp; begin<br>&nbsp; clrscr;<br>&nbsp; &nbsp; &nbsp; &nbsp; assign(g,'dayso.out'); rewrite(g);<br>&nbsp; &nbsp; &nbsp; &nbsp; randomize;<br>&nbsp; &nbsp; for i:=1 to n do<br>&nbsp; &nbsp; &nbsp; a[i]:=random(10);<br>&nbsp; &nbsp; for j:=1 to n do<br>&nbsp; &nbsp; &nbsp; if (a[i]&gt;a[j]) then<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tam:=a[i];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a[i]:=a[j];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;a[j]:=tam;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br>&nbsp; &nbsp; &nbsp; &nbsp; for i:=1 to n do write(g,a[i],' ');<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>for i:=1 to n do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dem:=0;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for j:=0 to 9 do<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if a[j]=i then<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inc(dem);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; writeln(g,i);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br>writeln(g,dem);<br>&nbsp;close(g);<br>writeln('Go Enter va nhap Random de xem ket qua'); <br>Readln&nbsp; &nbsp;&nbsp;<br>End.</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-23 11:00:10 UTC</pubDate>
         <guid>https://padlet.com/hstuongnvc2ngoquoctrivithuy/HSG/wish/1837846529</guid>
      </item>
   </channel>
</rss>
