Re: 10969 - Sweet Dream
Posted: Wed Mar 20, 2013 9:58 pm
You can solve this by exact calculation of the total perimeter of the parts of the discs that you can see from above. For each disc, see which parts of it's perimeter are covered by the discs that fall after it. Monte Carlo is probably not going to be accurate enough without getting TLE.