You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
<strong>จงหาเลขนักเก็ตที่มีค่าน้อยกว่าหรือเท่ากับค่า n </strong><b><br />
<br />
</b><u><b>ข้อมูลนำเข้า</b></u><br />
รับค่า n ที่เป็นจำนวนเต็ม จาก standard input โดยที่ 1 <= n <= 100 <b><br />
<br />
</b><u><b>ข้อมูลส่งออก</b></u><br />
ผลลัพธ์จะส่งออกไปยัง standard output โดยพิมพ์เลขนักเก็ตที่น้อยกว่าหรือเท่ากับ n โดยเรียงค่าจากน้อยไปหามาก พิมพ์บรรทัดละหนึ่งตัวเลข ถ้าไม่มีเลขนักเก็ตที่น้อยกว่าหรือเท่ากับ n ให้พิมพ์คำว่า no <br />