The submission is here: 265738238
I do not think that I use significant stack memory here, it is mostly heap memory. Also I have cloned to the mashup to test with 2GB memory limits and got exactly the same result.
The code is pretty clear in my opinion but I will be happy to clarify if asked.
Thanks for your interest.
You seem to have WA on a testcase, because putting the following
if
statement in the middle makes the code not RE but WA.So, the RE is probably due to a wrong value of
last
.I think you should to divide this checking into parts with parantheses
I don't think it matters.
Thank you so much, I will focus on fixing it.
You're welcome :)
Auto comment: topic has been updated by Mr.Whitebird (previous revision, new revision, compare).
how do you train?
lol