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 1300. Taxes

I know why the % of AC is low...
Posted by Yu Yuanming 5 Jun 2005 19:12
The algo is easy, but you must read the problem's description very carefully, and take care of rounding: r = int(r * 100 + 0.5) / 100, use it when calc tax and add up...

Because of rounding, it takes me almost one day to AC this problem...:(