code Chef

download code Chef

If you can't read please download the document

description

code chef problem

Transcript of code Chef

#include#include#include#includeusing namespace std;int main(){int t,i,len;char ch;char str[3000];scanf("%d",&t);while(t--){ scanf("\n");gets(str);len=strlen(str);//cout