Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Have you encountered this before ?

Revision en1, by rmz, 2024-03-24 20:02:11

In this problem I made a dp solution that gets MLE.

Then i added this piece of code.

    for (int i = 1 ; i < n ; i++){
        depee(i,0);
    }

Surprisingly, it worked and i got AC.

can you explain what happened?

Tags dp, recursive, memory limit, c++, pizza

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English rmz 2024-03-24 20:02:11 475 Initial revision (published)