iCanCodeBro's blog

By iCanCodeBro, history, 7 years ago, In English

Hi, this is my first blog here. I've been trying to solve this question for a day.

Any idea or help greatly appreciated.

My solutions ->

DP soln, TLE

DP+Bitmask, WA

TC Input (To check if TLE)

TC Output

Actual time limit for this question is 1 second.

Thanks.

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

| Write comment?