Блог пользователя Noob-ita-coder

Автор Noob-ita-coder, история, 7 лет назад, По-английски

I gave GCJ and didn't make to next round bcoz i failed last test set of problem B.

Can someone tell me the reason i get MLE. I don't even use any memory or i am missing something

Question Link: https://codingcompetitions.withgoogle.com/codejam/round/000000000019fd74/00000000002b1353 Solution: https://hastebin.com/wejoyikoke.m

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

»
7 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Your code produces ~1mb of output when called with "1 1000000000". If the codejam testcases have >1000 test cases, your program would hit MLE based on the amount of output produced. This would be detected and judged before they could give you a WA verdict.