#include int main() { int t, u; int i=0; int j =0; char s[51]; char new_name[50]; //名前sを入力 scanf("%s", s); //t,uを入力 scanf("%t %u", &t, &u); while (s[i] != '\0'){ if (i == t || i == u){ i++; } new_name[j] = s[i]; i++; j++; } new_name[j]='\0'; printf("%s\n", new_name); return 0; }