CaP_TaIn's blog

By CaP_TaIn, 2 months ago, In English

During solving this problem(Problem Link) I first used set for maintaing count of the cases but it was giving wrong ans on test5 but when I used integer for count it passed all test cases and i'm unable to find why using set giving wrong ans.

here are my submissions : 1)using set:286839990 2)using integer:286840330

Full text and comments »

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

By CaP_TaIn, history, 3 months ago, In English

Hello, Codeforces community!

I recently reached the Cyan rank, and I'm excited to keep the momentum going. My next goal is to transition from Cyan to Blue, and I’d love to hear advice from those who have already made this leap, what made the biggest difference for you? Should I focus more on speed or learning harder algorithms? Any tips for improving consistency in contests would also be helpful and drop your fav algorithm.

Thanks in advance for your suggestions!

Full text and comments »

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