29 lines
333 B
C
29 lines
333 B
C
#include <stdio.h>
|
|
|
|
int main(){
|
|
int a = 0;
|
|
|
|
while (a != EOF){
|
|
|
|
a = getchar();
|
|
|
|
if (a == '\b' || a == '\t' || a == '\\'){
|
|
if (a == '\b'){
|
|
printf("\\b");
|
|
continue;
|
|
}
|
|
if (a == '\t'){
|
|
printf("\\t");
|
|
continue;
|
|
} else {
|
|
printf("\\");
|
|
continue;
|
|
}
|
|
} else {
|
|
putchar (a);
|
|
}
|
|
}
|
|
|
|
|
|
return 0;
|
|
}
|