BD_SM's blog

By BD_SM, history, 5 years ago, In English

https://cses.fi/problemset/task/1664 need help on how to solve this problem? I am storing for each i the closest time when a picture finishes if we start at i. This preprocess is O(n) but query worst case is o(n).help pls!

Full text and comments »

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

By BD_SM, history, 5 years ago, In English

Can someone upload their solutions of the CSES problem set on github or any other site. Thank You!

Full text and comments »

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