Uncertainity with doubles

Revision en1, by lordsaitama, 2020-05-30 10:32:12

I was solving the problem 198A - About Bacteria and did a submission [submission:https://codeforces.com/contest/198/submission/81942791] 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 [problem:https://codeforces.com/contest/198/submission/81942702]

I really cant understand if I have two double a,b; how is low(a) - log(b) different from log(a/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)