double gets TLE and long double AC, why?

Revision en1, by VLamarca, 2019-02-19 05:35:55

Hi,

regarding problem B from this contest, my solution using double gets TLE and the same solution using long double gets AC, anyone has any idea why?

You can use this test case in custom invocation to confirm that the solution using long double is indeed twice faster.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English VLamarca 2019-02-19 23:02:50 498 Tiny change: 'aster.\n\nEDIT: I could p' -> 'aster.\n\n**EDIT:** I could p'
en1 English VLamarca 2019-02-19 05:35:55 463 Initial revision (published)