Uncertainity with doubles

Правка en1, от lordsaitama, 2020-05-30 10:32:12

I was solving the problem 198A - About Bacteria and did a submission [submission:https://codeforces.net/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.net/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)

Теги doubles, #where wrong, #wa

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский lordsaitama 2020-05-30 10:46:18 2 Tiny change: 'w is `` low(a) - log(' -> 'w is `` log(a) - log('
en2 Английский 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 Английский lordsaitama 2020-05-30 10:32:12 491 Initial revision (published)