Inconsistency in C++ STL sqrt function

Правка en1, от 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?

Теги c++, stl, sqrt

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский iamujj15 2022-10-07 22:40:11 569 Initial revision (published)