Inconsistency in C++ STL sqrt function

Revision en1, by iamujj15, 2022-10-07 22:40:11

Problem

Submission 1 : AC

Submission 2 : WA

The only difference between Submission 1 and Submission 2 is that, in Submission 1 I'm using a self made square root function, while in Submission 2, I'm using the C++ STL sqrt function, otherwise everything else is identical. Should it be considered as an inconsistency in C++ STL sqrt function? If not, why?

Tags c++, stl, sqrt

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English iamujj15 2022-10-07 22:40:11 569 Initial revision (published)