#39391: 解題思路


toseanlin@gmail.com (Dr. SeanXD)


使用While迴圈,終止條件為起點等於終點,不可使用小於因為有負數的可能性。

範例程式碼

#40128: Re: 解題思路


toseanlin@gmail.com (Dr. SeanXD)