iamujj.15's blog

By iamujj.15, history, 2 months ago, In English

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?

 
 
 
 
  • Vote: I like it
  • -16
  • Vote: I do not like it

»
2 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

In your second submission if you use "sqrtl" instead of "sqrt" you will get AC. I was also facing the same problem .