bugs.c
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
int main() {
int n, i, j, c;
char b[7], s[2000001], *f, *p;
while ( scanf("%d", &n
) == 1) {
for (i = 1; i <= n; i++) {
j = 0;
s[j] = c;
j++;
} s[j] = '\0';
/*printf("%s\n", s);*/
p = s;
while ((f
= strstr(s
, b
)) != NULL
) {
f[0] = '\0';
/*printf("%s\n", p);*/
}
}
}
return 0;
}