作者yp195126 (我睡故我在)
看板Grad-ProbAsk
标题[理工] 离散 3-89
时间Thu Oct 18 16:09:30 2018
https://i.imgur.com/nUe3XEZ.jpg
请问为什麽最後要减掉0000呢
-----
Sent from JPTT on my iPhone
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 218.164.68.184
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Grad-ProbAsk/M.1539850172.A.11C.html
1F:→ Ricestone: 因为比0000大的是1000 不再会有构不成四位数的问题 10/18 16:49
2F:→ Ricestone: 咦,怎麽好像反了过来 10/18 16:50
3F:→ Ricestone: 好吧,我也不知道为什麽用这算法却不接受0000 10/18 17:05
4F:推 eric21489: 因为有堪误 不减 10/18 17:29
5F:→ eric21489: 如果要这算法的话从0000-0999都不算才对 10/18 17:31