<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="th">
	<id>https://theory.cpe.ku.ac.th/wiki/index.php?action=history&amp;feed=atom&amp;title=Gcj2012</id>
	<title>Gcj2012 - ประวัติรุ่นแก้ไข</title>
	<link rel="self" type="application/atom+xml" href="https://theory.cpe.ku.ac.th/wiki/index.php?action=history&amp;feed=atom&amp;title=Gcj2012"/>
	<link rel="alternate" type="text/html" href="https://theory.cpe.ku.ac.th/wiki/index.php?title=Gcj2012&amp;action=history"/>
	<updated>2026-04-19T13:31:24Z</updated>
	<subtitle>ประวัติรุ่นแก้ไขของหน้านี้ในวิกิ</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://theory.cpe.ku.ac.th/wiki/index.php?title=Gcj2012&amp;diff=38345&amp;oldid=prev</id>
		<title>Jittat เมื่อ 05:10, 18 พฤษภาคม 2556</title>
		<link rel="alternate" type="text/html" href="https://theory.cpe.ku.ac.th/wiki/index.php?title=Gcj2012&amp;diff=38345&amp;oldid=prev"/>
		<updated>2013-05-18T05:10:16Z</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;รุ่นแก้ไขเมื่อ 05:10, 18 พฤษภาคม 2556&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-l2&quot; &gt;แถว 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 2:&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;=== Problem C. Quality Food ===&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;=== Problem C. Quality Food ===&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;Source: [https://code.google.com/codejam/contest/1835486/dashboard#s=p2]&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;/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;คุณเพิ่งจะย้ายจากเมืองบ้านเกิดไปยังเมืองหลวง! คุณรักทุกอย่างที่เมืองใหญ่เมืองนี้ ยกเว้นเรื่องเดียว คือเรื่องอาหาร  เมืองบ้านเกิดของคุณมีอาหารที่เยี่ยมที่สุดในละแวกนี้ (เราจะเรียกว่า &amp;quot;อาหารคุณภาพ&amp;quot;) แน่นอนว่าคุณคิดถึงอาหารชั้นยอดนั้นมาก&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;quot;อาหารคุณภาพ&amp;quot;) แน่นอนว่าคุณคิดถึงอาหารชั้นยอดนั้นมาก&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
	<entry>
		<id>https://theory.cpe.ku.ac.th/wiki/index.php?title=Gcj2012&amp;diff=38344&amp;oldid=prev</id>
		<title>Jittat: หน้าที่ถูกสร้างด้วย &#039;== Round 3 ==  === Problem C. Quality Food ===  คุณเพิ่งจะย้ายจากเมืองบ้านเกิ...&#039;</title>
		<link rel="alternate" type="text/html" href="https://theory.cpe.ku.ac.th/wiki/index.php?title=Gcj2012&amp;diff=38344&amp;oldid=prev"/>
		<updated>2013-05-18T05:09:02Z</updated>

		<summary type="html">&lt;p&gt;หน้าที่ถูกสร้างด้วย &amp;#039;== Round 3 ==  === Problem C. Quality Food ===  คุณเพิ่งจะย้ายจากเมืองบ้านเกิ...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;หน้าใหม่&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Round 3 ==&lt;br /&gt;
&lt;br /&gt;
=== Problem C. Quality Food ===&lt;br /&gt;
&lt;br /&gt;
คุณเพิ่งจะย้ายจากเมืองบ้านเกิดไปยังเมืองหลวง! คุณรักทุกอย่างที่เมืองใหญ่เมืองนี้ ยกเว้นเรื่องเดียว คือเรื่องอาหาร  เมืองบ้านเกิดของคุณมีอาหารที่เยี่ยมที่สุดในละแวกนี้ (เราจะเรียกว่า &amp;quot;อาหารคุณภาพ&amp;quot;) แน่นอนว่าคุณคิดถึงอาหารชั้นยอดนั้นมาก&lt;br /&gt;
&lt;br /&gt;
โชคดีที่ร้านอาหารใหญ่ที่สุดที่เมืองบ้านเกิดของคุณมีบริการส่งอาหาร  คุณสามารถซื้ออาหารปริมาณเท่าใดก็ได้ต่อการส่งหนึ่งครั้ง  ในการส่งหนึ่งครั้งจะมีค่าจัดส่งเป็นค่าคงที่ ซึ่งไม่ขึ้นกับปริมาณอาหารที่คุณสั่ง&lt;br /&gt;
&lt;br /&gt;
ร้านอาหารร้านนี้มีอาหารหลายแบบ อาหารแต่ละประเภทจะมีคุณสมบัติสองอย่าง คือ ราคาต่อมื้อ และ เวลาที่จะเสีย  อาหารมื้อหนึ่งจะสามารถทำให้คุณมีชีวิตอยู่ได้อีกหนึ่งวัน  เมื่ออาหารมื้อนั้นถูกรับประทานแล้ว ก็จะไม่สามารถนำมารับประทานซ้ำได้  เวลาที่จะเสียของอาหารคือจำนวนวันที่มากที่สุดที่อาหารนั้นยังสามารถใช้รับประทานได้อยู่ เริ่มนับจากวันที่คุณได้รับอาหารนั้น อาหารที่มีเวลาที่จะเสียเท่ากับศูนย์หมายความว่าเป็นอาหารที่คุณต้องรับประทานในวันที่ได้รับอาหารนั้นเลย&lt;br /&gt;
&lt;br /&gt;
ในการส่งอาหารครั้งหนึ่ง คุณสามารถซื้ออาหารกี่แบบก็ได้ แบบละกี่มื้อก็ได้ ตราบเท่าที่คุณมีเงินพอจ่าย  สังเกตว่าถ้าอาหารประเภทหนึ่งมีเวลาเสียเท่ากับ t  มันจะไม่มีประโยชน์อะไรที่จะซื้ออาหารนั้นมามากกว่า t+1 มื้อต่อการส่งหนึ่งครั้ง เพราะว่าจะมีบางมื้อเสียก่อนที่คุณจะได้รับประทานมัน&lt;br /&gt;
&lt;br /&gt;
ร้านอาหารนี้มีการจัดการส่งอาหารอย่างดีเยี่ยม  คุณจะได้รับอาหารที่สั่งในวันเดียวกับที่คุณซื้อ และคุณสามารถรับประทานอาหารที่สั่งได้ในวันนั้นเลย   การซื้ออาหารโดยการสั่งนี้ เป็นวิธีเดียวที่คุณจะมีอาหารคุณภาพรับประทาน&lt;br /&gt;
&lt;br /&gt;
ให้จำนวนเงินที่คุณสามารถใช้ซื้ออาหารและจ่ายค่าส่ง ให้คำนวณหาจำนวนวันที่มากที่สุดที่คุณสามารถรับประทานอาหารคุณภาพได้ทุกวัน&lt;/div&gt;</summary>
		<author><name>Jittat</name></author>
		
	</entry>
</feed>