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

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

Hi there, could anyone take a look at my submission and advise me on what to change so as to pass the test cases. I keep getting memory limit exceeded for the 17th test case. 75599734. Thank you!!!

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

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

You are allocating too much memory for each node, by making it static. Try dynamic memory.