北大ACM题目之1131八进制转为十进制(JAVA)
Fractionsinoctal(base8)notationcanbeexpressedexactlyindecimalnotation.Forexample,0.75inoctalis0.953125(7/8+5/64)indecimal.Alloctalnumbersofndigitstotherightoftheoctalpointcanbeexpressedinnomorethan3ndecimaldigitstotherightofthedecimalpoint.Writeaprogramtoconvertoctalnumer
下载地址
用户评论