Floating point precision problem
Difference between en1 and en2, changed 15 character(s)
My submission [submission:97108301] of problem [problem:1437A] got wrong answer on test case 7 using float during contest but using double it is getting accepted after the contest.↵
After searching a lot on internet , I am not getting 
a satisfactory answer. ↵
Can someone please tell me why it is giving wrong answer on float?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English lakshay05 2020-10-29 19:05:41 30
en2 English lakshay05 2020-10-29 19:04:48 15 Tiny change: ' getting answer. \' -> ' getting a satisfactory answer. \'
en1 English lakshay05 2020-10-29 19:03:53 343 Initial revision (published)