Uncertainity with doubles

Revision en3, by lordsaitama, 2020-05-30 10:46:18

I was solving the problem 198A - About Bacteria and did a submission 81944790 and got wrong answer on case 77 I saw someone's submission which was exactly same with the only difference being the handling of the log expression 81942702 I really cant understand if I have two double a,b; how is log(a) - log(b) different from log(a*1.0/b)

Tags doubles, #where wrong, #wa

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English lordsaitama 2020-05-30 10:46:18 2 Tiny change: 'w is `` low(a) - log(' -> 'w is `` log(a) - log('
en2 English lordsaitama 2020-05-30 10:34:44 107 Tiny change: 'answer on case 77 \nI saw so' -> 'answer on ``case 77 ``\nI saw so'
en1 English lordsaitama 2020-05-30 10:32:12 491 Initial revision (published)