Why is the STL failing?

Revision en1, by Negationist, 2024-09-29 22:31:45

Here is an AC submission:

AC

Here is an WA submission:

WA

The only difference is a custom sqrt function. This was my worse contest ever because of this. Wasted like 40 mins trying figure this out and needed like 1 more min to solve C. Someone please explain because this is so weird and frustrating.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Negationist 2024-09-29 22:31:45 2424 Initial revision (published)