fork download
  1. #include<stdio.h>
  2. int main(){
  3. int i;
  4. char s[1024];
  5. scanf("%s",&s);
  6. for(i=0;s[i]!='\0';i++);
  7. printf("%d",i);
  8. return 0;
  9. }
Success #stdin #stdout 0s 5284KB
stdin
abcd
stdout
4