gritter97's blog

By gritter97, history, 7 weeks ago, In English,

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!!!

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

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