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
範例:給定 n,讓 a + b = n 且 a 的數字和與 b 的數字和總和是最大的 a b 組合,求兩數數字和加總。位數越多、9 越多,數字和就越大,所以取 n / 2 最可能讓兩數位數都是最多的,再讓其中一個數字有最多的 9,最後印出題目需要的總和。題目不需印出 a b,因為 a b 有許多種可能。