a big bug in your code forces compiler

Revision en1, by kalenbhaiya, 2020-04-09 02:27:57

I would like to ask that what is the problem with code forces compiler that it returns int x=log10(8)/log10(2); cout<<x; as 2 rather than 3 because in every compiler it returns 3 except code forces[problem:C. Powers Of Two]

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English kalenbhaiya 2020-04-09 02:27:57 262 Initial revision (published)