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

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

1993A - Question Marks

Video editorial

1993B - Parity and Sum

Hint 1
Hint 2
Hint 3
Video editorial

1993C - Light Switches

Hint 1
Hint 2
Video editorial

1993D - Med-imize

Hint 1
Hint 3
Hint 4
Hint 5
Video editorial

1993E - Xor-Grid Problem

Hint 1
Hint 2
Hint 3
Hint 4
Video editorial

1993F1 - Dyn-scripted Robot (Easy Version)

Hint 1
Hint 2
Video editorial
Разбор задач Codeforces Round 963 (Div. 2)
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
5 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

problem 1993B -

HINT You only need to count how many segments of consecutive equal characters exist. Each segment contributes 1 to the final answer. Very clean greedy approach.