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 1457. Heating Main

you may find it helpful
Posted by Aneto 8 Jan 2012 03:01
Well, i started to store input in array like this

...
int [] hatches = new int[n+];
...

After that converted them into double. That ended with WA4

changed to double [] hatches = new double[n+];
and i got ACed.