X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/92acf059b083a5874172215f13c94c4071536b22..551c1b8346a4c4a5128a7cfe4d4804bf40b4a0d2:/src/blocksorting/bs.c diff --git a/src/blocksorting/bs.c b/src/blocksorting/bs.c index b95b74b..0aff024 100644 --- a/src/blocksorting/bs.c +++ b/src/blocksorting/bs.c @@ -124,8 +124,11 @@ void bs_restore(char *dst, char *c, Uint32 k, Uint32 len) i=0; do { dst[i++] = in[current].c; + printf("(%c)", dst[i-1]); current = in[current].pos; + printf("[%d]", current); } while (current != k); + printf("\n"); free(in); }