You are viewing a single comment's thread. Return to all comments →
I have done almost same still m getting segmentation fault in case 9. can u tell me why! here's my code.
int main() { int t,i,flag; char s[10000],r[10000]; scanf("%d",&t); for(;t--;) { flag=1; scanf("%s",&s);
for(i=0;i
for(i=1;i
if(flag==1) printf("Funny\n");
} return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Funny String
You are viewing a single comment's thread. Return to all comments →
I have done almost same still m getting segmentation fault in case 9. can u tell me why! here's my code.
int main() { int t,i,flag; char s[10000],r[10000]; scanf("%d",&t); for(;t--;) { flag=1; scanf("%s",&s);
for(i=0;i
for(i=1;i
if(flag==1)
printf("Funny\n");
}
return 0; }