<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="th-TH">
	<id>https://srakrn.me/mediawiki/index.php?action=history&amp;feed=atom&amp;title=PromptCode%2F6</id>
	<title>PromptCode/6 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://srakrn.me/mediawiki/index.php?action=history&amp;feed=atom&amp;title=PromptCode%2F6"/>
	<link rel="alternate" type="text/html" href="https://srakrn.me/mediawiki/index.php?title=PromptCode/6&amp;action=history"/>
	<updated>2026-05-14T21:44:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://srakrn.me/mediawiki/index.php?title=PromptCode/6&amp;diff=450&amp;oldid=prev</id>
		<title>Srakrn at 14:30, 21 April 2026</title>
		<link rel="alternate" type="text/html" href="https://srakrn.me/mediawiki/index.php?title=PromptCode/6&amp;diff=450&amp;oldid=prev"/>
		<updated>2026-04-21T14:30:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;th-TH&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:30, 21 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{PromptCode Instruction}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{PromptCode Instruction}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(Difficulty: medium)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Srakrn</name></author>
		
	</entry>
	<entry>
		<id>https://srakrn.me/mediawiki/index.php?title=PromptCode/6&amp;diff=438&amp;oldid=prev</id>
		<title>Srakrn: Created page with &quot;{{PromptCode Instruction}}  &lt;pre&gt; def sc(lst, t, lo=0, hi=None):     if hi is None:         hi = len(lst) - 1     if lo &gt; hi:         return -1     mid = (lo + hi) // 2     if...&quot;</title>
		<link rel="alternate" type="text/html" href="https://srakrn.me/mediawiki/index.php?title=PromptCode/6&amp;diff=438&amp;oldid=prev"/>
		<updated>2026-04-21T14:24:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PromptCode Instruction}}  &amp;lt;pre&amp;gt; def sc(lst, t, lo=0, hi=None):     if hi is None:         hi = len(lst) - 1     if lo &amp;gt; hi:         return -1     mid = (lo + hi) // 2     if...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PromptCode Instruction}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def sc(lst, t, lo=0, hi=None):&lt;br /&gt;
    if hi is None:&lt;br /&gt;
        hi = len(lst) - 1&lt;br /&gt;
    if lo &amp;gt; hi:&lt;br /&gt;
        return -1&lt;br /&gt;
    mid = (lo + hi) // 2&lt;br /&gt;
    if lst[mid] == t:&lt;br /&gt;
        return mid&lt;br /&gt;
    if lst[mid] &amp;lt; t:&lt;br /&gt;
        return sc(lst, t, mid + 1, hi)&lt;br /&gt;
    return sc(lst, t, lo, mid - 1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hint 1: {{censored | The function name is search_sorted}}&lt;/div&gt;</summary>
		<author><name>Srakrn</name></author>
		
	</entry>
</feed>