#include #include #include #include #include #include #include int main(){ int q,i,j,n,m; char *A = "hackerrank"; m = 10; scanf("%d",&q); for(int a0 = 0; a0 < q; a0++){ char* s = (char *)malloc(512000 * sizeof(char)); scanf("%s",s); n = strlen(s); if (n=m) printf("YES\n"); else printf("NO\n"); } free(s); } return 0; }