<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="th">
	<id>http://158.108.32.49/wiki/index.php?action=history&amp;feed=atom&amp;title=Algo_lab%2Fzooma_1</id>
	<title>Algo lab/zooma 1 - ประวัติรุ่นแก้ไข</title>
	<link rel="self" type="application/atom+xml" href="http://158.108.32.49/wiki/index.php?action=history&amp;feed=atom&amp;title=Algo_lab%2Fzooma_1"/>
	<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;action=history"/>
	<updated>2026-05-07T03:27:37Z</updated>
	<subtitle>ประวัติรุ่นแก้ไขของหน้านี้ในวิกิ</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58084&amp;oldid=prev</id>
		<title>Jittat: /* Code templates */</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58084&amp;oldid=prev"/>
		<updated>2018-09-10T06:22:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Code templates&lt;/span&gt;&lt;/span&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&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 06:22, 10 กันยายน 2561&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-l138&quot; &gt;แถว 138:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 138:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;== Code templates ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;== Code templates ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;TBA&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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 class=&quot;diffchange diffchange-inline&quot;&gt;Download here&lt;/ins&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[https://theory.cpe.ku.ac.th/~jittat/algo-lab/zooma/]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58083&amp;oldid=prev</id>
		<title>Jittat เมื่อ 04:34, 10 กันยายน 2561</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58083&amp;oldid=prev"/>
		<updated>2018-09-10T04:34:34Z</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&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 04:34, 10 กันยายน 2561&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-l135&quot; &gt;แถว 135:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 135:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;5&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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;== Code templates ==&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=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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;: TBA&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58082&amp;oldid=prev</id>
		<title>Jittat: /* Input */</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58082&amp;oldid=prev"/>
		<updated>2018-09-10T04:28:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Input&lt;/span&gt;&lt;/span&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&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 04:28, 10 กันยายน 2561&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-l50&quot; &gt;แถว 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000; &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000; &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039; in the grader n &amp;lt;= 100,000; m &amp;lt;= 100,000&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;** &amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039; in the grader n &amp;lt;= 100,000; m &amp;lt;= 100,000&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.  Time limit 1 second (easy), 3 second (hard)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58081&amp;oldid=prev</id>
		<title>Jittat: /* Input */</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58081&amp;oldid=prev"/>
		<updated>2018-09-10T04:28:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Input&lt;/span&gt;&lt;/span&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&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 04:28, 10 กันยายน 2561&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-l49&quot; &gt;แถว 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;== Input ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;== Input ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000; &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; --- &lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039; in the grader n &amp;lt;= 100,000; m &amp;lt;= 100,000&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000; &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000)&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=&#039;diff-marker&#039;&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 class=&quot;diffchange diffchange-inline&quot;&gt;** &lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039; in the grader n &amp;lt;= 100,000; m &amp;lt;= 100,000&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58080&amp;oldid=prev</id>
		<title>Jittat: /* Input */</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58080&amp;oldid=prev"/>
		<updated>2018-09-10T04:28:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Input&lt;/span&gt;&lt;/span&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&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 04:28, 10 กันยายน 2561&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-l49&quot; &gt;แถว 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;== Input ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;== Input ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000; &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000; &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; --- &amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039; in the grader n &amp;lt;= 100,000; m &amp;lt;= 100,000&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58071&amp;oldid=prev</id>
		<title>Jittat: /* Input */</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58071&amp;oldid=prev"/>
		<updated>2018-09-09T22:11:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Input&lt;/span&gt;&lt;/span&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&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 22:11, 9 กันยายน 2561&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-l49&quot; &gt;แถว 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;== Input ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;== Input ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000; &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; &amp;lt;= 1,000,000)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58069&amp;oldid=prev</id>
		<title>Jittat: หน้าที่ถูกสร้างด้วย &#039;== Zooma 1 ==  This task is motivated by [https://en.wikipedia.org/wiki/Zuma_(video_game) Zuma], a video game by PopCap Games.  In this...&#039;</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=Algo_lab/zooma_1&amp;diff=58069&amp;oldid=prev"/>
		<updated>2018-09-09T22:05:47Z</updated>

		<summary type="html">&lt;p&gt;หน้าที่ถูกสร้างด้วย &amp;#039;== Zooma 1 ==  This task is motivated by [https://en.wikipedia.org/wiki/Zuma_(video_game) Zuma], a video game by PopCap Games.  In this...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;หน้าใหม่&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Zooma 1 ==&lt;br /&gt;
&lt;br /&gt;
This task is motivated by [https://en.wikipedia.org/wiki/Zuma_(video_game) Zuma], a video game by PopCap Games.&lt;br /&gt;
&lt;br /&gt;
In this version of the game, there is a sequence of &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; colored balls that moves toward an exit. You can shoot another &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; colored balls into the sequence. Balls do not disappear in this version.&lt;br /&gt;
&lt;br /&gt;
Find out the final sequence of the balls.&lt;br /&gt;
&lt;br /&gt;
The balls in the original sequence are numbered from &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;. The balls that you shoot are numbered from &amp;#039;&amp;#039;&amp;#039;n+1&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;n+m&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Game play example ===&lt;br /&gt;
&lt;br /&gt;
Consider the case where &amp;#039;&amp;#039;&amp;#039;n=5&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m=4&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The original sequence has balls with these colors:&lt;br /&gt;
&lt;br /&gt;
     1     2     3     4     5&lt;br /&gt;
     G     B     G     Y     Y&lt;br /&gt;
&lt;br /&gt;
You have 4 balls numbered as this:&lt;br /&gt;
&lt;br /&gt;
     6     7     8     9&lt;br /&gt;
     R     G     B     G&lt;br /&gt;
&lt;br /&gt;
If you shoot your first ball to the location after ball 3, the sequence becomes&lt;br /&gt;
&lt;br /&gt;
     1     2     3     *6*     4     5&lt;br /&gt;
     G     B     G     *R*     Y     Y&lt;br /&gt;
&lt;br /&gt;
If you shoot your second ball to the location after ball 1, the sequence becomes&lt;br /&gt;
&lt;br /&gt;
     1     *7*     2     3     6     4     5&lt;br /&gt;
     G     *G*     B     G     R     Y     Y&lt;br /&gt;
&lt;br /&gt;
If you shoot your third ball to the location after ball 6, the sequence becomes&lt;br /&gt;
&lt;br /&gt;
     1     7     2     3     6     *8*     4     5&lt;br /&gt;
     G     G     B     G     R     *B*     Y     Y&lt;br /&gt;
&lt;br /&gt;
If you shoot your forth ball to the location after ball 5, the sequence becomes&lt;br /&gt;
&lt;br /&gt;
     1     7     2     3     6     8     4     5     *9*&lt;br /&gt;
     G     G     B     G     R     B     Y     Y     *G*&lt;br /&gt;
&lt;br /&gt;
and this is the final sequence.&lt;br /&gt;
&lt;br /&gt;
Note: In this version, the colors of the balls are not relevant because balls do not disappear. &lt;br /&gt;
&lt;br /&gt;
== Input ==&lt;br /&gt;
&lt;br /&gt;
* First line: &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Next &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤i≤n&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+i&amp;#039;&amp;#039;&amp;#039; specifies one integer &amp;#039;&amp;#039;&amp;#039;c[i]&amp;#039;&amp;#039;&amp;#039; the color of ball &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* Next &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; lines: for &amp;#039;&amp;#039;&amp;#039;1≤j≤m&amp;#039;&amp;#039;&amp;#039;, line &amp;#039;&amp;#039;&amp;#039;1+n+j&amp;#039;&amp;#039;&amp;#039; specifies two integers &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;d[j]&amp;#039;&amp;#039;&amp;#039; is the color of ball &amp;#039;&amp;#039;&amp;#039;n+j&amp;#039;&amp;#039;&amp;#039; (this is your &amp;#039;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;#039;-th ball), and &amp;#039;&amp;#039;&amp;#039;p[j]&amp;#039;&amp;#039;&amp;#039; is the number of the ball right after which you shoot this ball into the sequence. Note that &amp;#039;&amp;#039;&amp;#039;p[j] &amp;lt; n+j&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
&lt;br /&gt;
Your program should print &amp;#039;&amp;#039;&amp;#039;n+m&amp;#039;&amp;#039;&amp;#039; integers which are the ball numbers in the final sequence.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This is the same example with colors: G = 1, B = 2, Y = 3, R = 4.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Input&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
5 4&lt;br /&gt;
1&lt;br /&gt;
2&lt;br /&gt;
1&lt;br /&gt;
3&lt;br /&gt;
3&lt;br /&gt;
4 3&lt;br /&gt;
1 1&lt;br /&gt;
2 6&lt;br /&gt;
1 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Output&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1&lt;br /&gt;
7&lt;br /&gt;
2&lt;br /&gt;
3&lt;br /&gt;
6&lt;br /&gt;
8&lt;br /&gt;
4&lt;br /&gt;
5&lt;br /&gt;
9&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test data ==&lt;br /&gt;
&lt;br /&gt;
Download at: http://theory.cpe.ku.ac.th/~jittat/courses/01204212/tasks/zooma1/&lt;br /&gt;
&lt;br /&gt;
Expected output for n10-3.in:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1&lt;br /&gt;
2&lt;br /&gt;
14&lt;br /&gt;
18&lt;br /&gt;
20&lt;br /&gt;
3&lt;br /&gt;
11&lt;br /&gt;
13&lt;br /&gt;
4&lt;br /&gt;
5&lt;br /&gt;
17&lt;br /&gt;
6&lt;br /&gt;
7&lt;br /&gt;
8&lt;br /&gt;
15&lt;br /&gt;
12&lt;br /&gt;
19&lt;br /&gt;
9&lt;br /&gt;
10&lt;br /&gt;
16&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expected output for n50-3.in (first 10 lines):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1&lt;br /&gt;
61&lt;br /&gt;
2&lt;br /&gt;
97&lt;br /&gt;
52&lt;br /&gt;
3&lt;br /&gt;
81&lt;br /&gt;
4&lt;br /&gt;
71&lt;br /&gt;
67&lt;br /&gt;
5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
</feed>