PPDIV - Editorial

Not sure about python, but in C++ sqrt we give precision error
Test: 10^18 - 1
Correct answer: 127687580
Answer with sqrt instead of sqrtl: 480812650

3 Likes