Pal's blog

By Pal, history, 3 years ago, In English

here is link to the problem https://cses.fi/problemset/task/2428

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

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

hi! i could solve it using map in c++, here's my code if you want : my code

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

You can solve it using sliding window.

Solution: 222878555