The Number of Subpermutations

Problem Name:
The Number of Subpermutations
Site:CodeForces
Links:
Tags:
Problem setters: