Help me out here pls!!! Why does my solution exceeds ML?

Правка en1, от MikeMirzuhanov, 2021-10-08 20:26:26

My solution to the E1 problem of the 747 round (https://codeforces.net/contest/1594/problem/E1) exceeds memory limit?

Here is my solution $$$\to$$$ https://codeforces.net/contest/1594/submission/131228904

I thought it wasn't supposed to MLE 'cause the depth of the recursion was less than $$$2 * log(2^{61}) = 122$$$.

Sorry, dunno how to write blogs in Codeforces properly)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский MikeMirzuhanov 2021-10-08 20:26:48 1
en1 Английский MikeMirzuhanov 2021-10-08 20:26:26 431 Initial revision (published)