#include #include #include #include #include using namespace std; /*int countPS(string str) { int N = str.length(); // create a 2D array to store the count of palindromic // subsequence int cps[N+1][N+1]; memset(cps, 0 ,sizeof(cps)); // palindromic subsequence of length 1 for (int i=0; i>n; int t; cin>>t; string str; cin>>str; int N = n; // create a 2D array to store the count of palindromic // subsequence int cps[N+1][N+1]; for(int i=0;i>num; if(num==1){ int m,p,q; cin>>m>>p>>q; for(int i=m;i<=p;i++){ if(str[i]+q>'z'){ str[i]-=26; } str[i]+=q; } for (int i=0; i>m>>p; cout<