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

Автор ZeroCoolCorp, история, 2 месяца назад, По-английски

When I participate in contests(especially in my national sectional contests) I always struggle with time management, I often get stuck on a single problem and spent a bunch of time on it and I don't have time for the other problems. Can anyone give me any tips on time management?

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

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

Автор ZeroCoolCorp, история, 10 месяцев назад, По-английски

Given two arrays X and Y both with size N and consisting of only 0's and 1's.We need to find the minimum number of bit flips to get from X to Y, but at any point we cant have 3 of the same bits next to each other(ex. 010001 and 101110 are forbidden).

Can someone help me with this problem it was on a macedonian olympiad.

Constraints: N <= 6000

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

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