TOPIC

Pq está dando 50% de erro???

André asked 3 years ago

include include

int main () { char s[100001], *posicao=NULL; long int n, t,i; scanf("%s",s); t=strlen(s); for(i=0;i<t;i++){ if(s[i]<=90 && s[i]>=65){ s[i]=s[i]+32; } } posicao=strstr(s,"zeldo"); if(posicao==NULL){ printf("Link Bolado\n"); } else{ printf("Link Tranquilo\n"); } return 0; }

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.