fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i;
  5. char s[100];
  6. scanf("%s",s);
  7. printf("%s\n -> ",s);
  8. //ここを編集する
  9. //何行になってもよいです
  10. //
  11. void myword(char s[]){
  12. int i;
  13. for(i=0; s[i]!='\0'; i++)
  14. {
  15. if(s[i]=='1')
  16. {
  17. s[i]='I';
  18. }
  19. }return;
  20. }
  21. myword(s);
  22. printf("%s\n",s);
  23. return 0;
  24. }
  25.  
Success #stdin #stdout 0s 5320KB
stdin
1NFORMAT1ON
stdout
1NFORMAT1ON
  -> INFORMATION