Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions statements/latex/0015.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

\begin{problem}{Skocimis}{standard input}{standard output}{1 second}{32 megabytes}

ในทะเลทรายแห่งหนึ่ง มีจิงโจ้ 3 ตัวกำลังเล่นบนเส้นจำนวน (จำนวนเต็ม) เริ่มต้นนั้นแต่ละตัวจะอยู่บนจำนวนที่แตกต่างกัน ในตาหนึ่ง จะมีจิงโจ้ตัวหนึ่ง กระโดดเข้าไปในตำแหน่งตัวเลขจำนวนเต็มที่อยู่ระหว่างจิงโจ้อีก 2 ตัว และไม่มีครั้งใดที่จิงโจ้จะกระโดดไปอยู่ในตำแหน่งจำนวนเดียวกับตัวอื่นเลยโจทย์ระบุให้
ในทะเลทรายแห่งหนึ่ง มีจิงโจ้ 3 ตัวกำลังเล่นบนเส้นจำนวน (จำนวนเต็ม) เริ่มต้นนั้นแต่ละตัวจะอยู่บนจำนวนที่แตกต่างกัน ในตาหนึ่ง จะมีจิงโจ้ตัวหนึ่ง (ที่อยู่ด้านนอก นั่นคือที่ไม่ได้อยู่ระหว่างจิงโจ้อีก 2 ตัว) กระโดดเข้าไปในตำแหน่งตัวเลขจำนวนเต็มที่อยู่ระหว่างจิงโจ้อีก 2 ตัว และไม่มีครั้งใดที่จิงโจ้จะกระโดดไปอยู่ในตำแหน่งจำนวนเดียวกับตัวอื่นเลย

\underline{\textbf{โจทย์}} จงเขียนโปรแกรมเพื่อรับตำแหน่งของจิงโจ้ทั้ง 3 ตัว และตอบว่าจะกระโดดได้มากที่สุดกี่ครั้ง ก่อนเกมจะจบลง (เล่นต่อไม่ได้แล้ว)

Expand All @@ -31,4 +31,4 @@

\end{problem}

\end{document}
\end{document}
Binary file modified statements/pdf/0015.pdf
Binary file not shown.