fork download
  1. # include <stdio.h>
  2.  
  3. int fuzzyStrcmp(char s[], char t[]){
  4.  
  5.  
  6. //関数の中だけを書き換えてください
  7. //同じとき1を返す,異なるとき0を返す
  8. }
  9.  
  10. //メイン関数は書き換えなくてできます
  11. int main(){
  12. int ans;
  13. char s[100];
  14. char t[100];
  15. scanf("%s %s",s,t);
  16. printf("%s = %s -> ",s,t);
  17. ans = fuzzyStrcmp(s,t);
  18. printf("%d\n",ans);
  19. return 0;
  20. }
  21.  
Success #stdin #stdout 0s 5324KB
stdin
abCD AbCd
stdout
abCD = AbCd -> 0