#21996: 用整數除法會自動忽略小數點方法解題


terhead8775 (terhead8775)


 

輸入n
a= n/4

b= n-2*a

b=b/2

a * b就是答案