# 13634 - Indentation Revenge >author: Utin ###### tags: `input` --- ## Brief See the code below ## Solution 0 ```c= #include <stdio.h> int main() { char c, pre_c; int k = 0, head = 0; while((c = getchar()) != EOF) { if(c == ' ' && k == 0) { head = 1; printf(";"); } else if(c == '\n') { putchar(c); k = 0; } else if(c != ';') { if(pre_c == ';') putchar(pre_c); putchar(c); k = 1; } else { if(pre_c == ';') putchar(pre_c); } pre_c = c; } printf("// surprise<3\n"); } // By Utin ``` ## Reference