fork download
  1. # include <stdio.h>
  2.  
  3. int myStrcmp(char s[], char t[]){
  4.  
  5. }
  6.  
  7. int main(){
  8. int ans;
  9. char s[100];
  10. char t[100];
  11. scanf("%s %s",s,t);
  12. ans = myStrcmp(s,t);
  13. printf("%s = %s -> %d\n",s,t,ans);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 5280KB
stdin
abcd
abcd
stdout
abcd = abcd -> 0