Блог пользователя CaP_TaIn

Автор CaP_TaIn, 5 недель назад, По-английски

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • +7
  • Проголосовать: не нравится

Автор CaP_TaIn, история, 7 недель назад, По-английски

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!

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится