Skip to main content
2 of 2
added 9 characters in body
aidan0626
  • 543
  • 4
  • 8

C (clang), 149 148 bytes

#include<stdio.h>
int main(){char s[100];scanf("%s",s);int j;int k=strlen(s);for(int i=0;i<k;i++){if(s[i]%k>0){printf("0");return 0;}};printf("1");}

Try it online!

aidan0626
  • 543
  • 4
  • 8