#include #include #include #include #include #include #include /*void initialize(char* s) { // This function is called once before all queries. }*/ int answerQuery(int l, int r,char* s) { char k[r]; int i,a=0,c=1,j; for(i=l;i<=r;i++) { k[a]=s[i]; a++; } for(i=0;i