While solving problem B in Codeforces Round 976 when I was calculating my answer I was using the square root function to calculate
WA
but it was giving WA on test case on k = 854258779689358055
instead when I wrote the same code in C++ and submitted it , it gave AC....Could anyone tellme why that happened...
Help please...