ALogB's blog

By ALogB, history, 4 years ago, In English

Thank God People who are at the top (LGM/IGM/GM/MASTER) are changing their colour BY MAGIC to newbie/pupil/cyan otherwise i am seeing everyone colour LGM/IGM/GM/MASTER

why u guys are downvoting

Full text and comments »

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

By ALogB, history, 4 years ago, In English

I am solving this problem got the greedy solution but interested to solve this via dp as well can someone explain the dp solution in more better way than editorial ( i am unsatisfied with editorial).

Problem Link -> https://codeforces.me/problemset/problem/321/B

Full text and comments »

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