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

Автор AmShZ, 4 недели назад, По-английски

Hello everyone!

The next Starter round is here.

Repovive Starter Round 7 will be held this Sunday.

Starter rounds are designed to be beginner-friendly, with a level close to Codeforces Div.3 / AtCoder ABC.

The contest is rated for participants with rating below $$$1700$$$, whose role is at most Sushi Roll. It is unrated for Steaks.

See you on the leaderboard!

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

»
4 недели назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

Reminder.

»
4 недели назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

About 10 minutes to the contest.

»
4 недели назад, скрыть # |
 
Проголосовать: нравится +20 Проголосовать: не нравится

Interesting problemset.

»
4 недели назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

F can be extended to arrays with arbitrary values instead of strings. Frequency value differences can be maintained with two pointers and the split points can be determined by keeping track of nonzero differences. The following submission demonstrates how.

Solution