pickle_juice2024's blog

By pickle_juice2024, history, 9 months ago, In English

I am currently solving 1893C: https://mirror.codeforces.com/contest/1893/problem/C.
For some strange reason my code gives MLE when the space complexity of my code is O(n + m) (at least I think so?). If anyone could help me, it would be highly appreciated. My code:

Spoiler

Full text and comments »

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

By pickle_juice2024, history, 13 months ago, In English

I am getting MLE for this problem and I can't figure it out. Any help would be appreciated: https://mirror.codeforces.com/problemset/problem/1775/D

Spoiler

Full text and comments »

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

By pickle_juice2024, history, 17 months ago, In English

I'm curious, what is the highest possible amount of states that a dp problem could have? Pls send me the problem link and the number of states.

Full text and comments »

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

By pickle_juice2024, history, 18 months ago, In English

I have seen many blogs about this, but I can't decide on what practice method is best. Could somebody give a good practice method?

Full text and comments »

  • Vote: I like it
  • -6
  • Vote: I do not like it

By pickle_juice2024, history, 18 months ago, In English

I feel like I'm extremely weak on DP problems. Can somebody suggest a way to practice DP?

Full text and comments »

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

By pickle_juice2024, history, 21 month(s) ago, In English

I am currently stuck on this problem: https://mirror.codeforces.com/contest/296/problem/C Any help would be appreciated. PS: I couldn't understand the editorial

Full text and comments »

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