AmShZ's blog

By AmShZ, 4 weeks ago, In English

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!

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

»
4 weeks ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

Reminder.

»
4 weeks ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

About 10 minutes to the contest.

»
4 weeks ago, hide # |
 
Vote: I like it +20 Vote: I do not like it

Interesting problemset.

»
3 weeks ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

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