Scoring Subsequences

Problem Name:
Scoring Subsequences
Site:CodeForces
Links:
Tags:
Problem setters: