rmz's blog

By rmz, history, 7 days ago, In English

I'm not able to hack someone from yesterday's Div 3. Because of the hack file size (300 kb) and the limit is (256 kb), while it's a valid test case.

I tried copy pasting it, but it didn't work.

MikeMirzayanov FBI

Full text and comments »

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

By rmz, history, 7 months ago, In English

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?

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it