When I submitted the following code in GNU C++20 (64) I got wrong on test 2, whereas in GNU C++17 it got Accepted. Would anyone please tell the reason behind this. Thanks in advance.
My submission link:
198895642 in GNU C++20 (64) lang.
198895850 in GNU C++17 lang.
Test: n = 626220435839628002
sqrt(n) = 791340910.00000000000000000000
sqrtl(n) = 791340909.99999993806704878807