Prefix Function Queries

Problem Name:
Prefix Function Queries
Site:CodeForces
Links:
Tags:
Problem setters: