作者jwcs ()
看板Grad-ProbAsk
標題[理工] [離散] 數論
時間Tue Feb 2 15:03:27 2010
Please find the values in the list below that produce the sum 2200.
191 691 573 337 365 730 651 493 177 354
一般都是問乘積後面有幾個0,還可以由因式分解下手,但這題是要做和
我是從個位數之和為 0可能性類組出來做窮舉暴力,想不到啥好方法
不知道有什麼其他方式可以做?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.248.6.169
→ CCWck:mod 9 ? 02/02 16:44
→ CCWck:mod 10才對 看位數和 02/02 16:45
→ jwcs:mod 10 不就也是看個位數的和? 02/02 17:10