Setting Precision

Revision en2, by rahulb, 2018-12-07 16:28:21

https://mirror.codeforces.com/contest/629/submission/46721512 This is the link to my solution to 629D. I am getting WA on 59th testcase. The error is of the order of exp(-5) but I am not able to figure out the reason why I am getting that error. I have set the precision to 12. Many other solutions with same precision have passed. Is there something else I am missing?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English rahulb 2018-12-07 16:28:21 2 Tiny change: 'm getting a WA on 59t' -> 'm getting WA on 59t'
en1 English rahulb 2018-12-07 16:27:59 382 Initial revision (published)