Problem with precision in calculation

Правка en1, от ramanujanankur, 2016-08-22 01:36:22

I submitted code for the problem problem D. My incorrect submission is Incorrect while accepted solution is Accepted. As you can see that i changed from calculating the whole area and then remove sector area to simply adding areas of segments.But why should precision differ so much? I could not find the reason for this.

Теги geometry, precision

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ramanujanankur 2016-08-22 01:36:22 523 Initial revision (published)