ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1011. Conductors

if you get WA, please see this
Posted by liusiqi 8 Jun 2011 08:56
ok, I wanne say that double is not a precise number in computer.
there must be many unusual mistakes if you use double...
so, a better way is read them as strings,and then translate them to a long long number,which is 100 times as big as the input number.
so,now you can solve this without the trouble of precise....

p.s. you can also times the double with 100, but I think you will get a TLE....

sorry for my english....