Insights From Problem: Codeforces 1648C: Tyler and Strings (View all problems)
- When dealing with lexographically smaller strings, you can consider fixing the first i characters to be the same between the strings and then the (i + 1)th character can be different. by mathmastersd
- Be careful when multiplying the ways to choose an element (from an array) with a certain value IF previous elements MIGHT have that same value. Consider using a BIT in this case if you can know for sure the number of previous elements with that value. by mathmastersd
Page 1 of 1.
View links to all pages
1About • Privacy Notice • Rules • Problems list • Journal • Your profile • GitHub
Moon Symbol icon by Icons8 • Sun icon by Icons8 • Emojis from Twemoji by Twitter under CC by 4.0