Блог пользователя sggts04

Автор sggts04, история, 3 года назад, По-английски

Question Link: 1496C Submission Link: 109603686

The solution is under the constraints and the approach and method is same as most of the accepted solutions that I have seen. Why is my particular solution giving TLE?

  • Проголосовать: нравится
  • -16
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Storing long long instead of long double, and converting during sqrt() works, here, but why so? I've tried both long double and double they both are giving TLE, why?