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

Автор rahulb, история, 6 лет назад, По-английски

https://codeforces.net/contest/629/submission/46721512 This is the link to my solution to 629D. I am getting WA on 59th testcase. The error is of the order of exp(-5) but I am not able to figure out the reason why I am getting that error. I have set the precision to 12. Many other solutions with same precision have passed. Is there something else I am missing?

Полный текст и комментарии »

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

Автор rahulb, история, 6 лет назад, По-английски

https://codeforces.net/contest/762/submission/41625289 This is the link to my solution to problem 762C. I am getting a runtime error on test 25 saying heap-buffer overflow. From what I got through googling I think it occurs when we try to use too much memory, but I am pretty sure I am not doing that here as I have just made 2 strings with maximum length 10^5.

Полный текст и комментарии »

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