while(!feof(in)){
memset(block, 0, sizeof(block)); //Îáíóëÿåì áëîê
fread(block, sizeof(block), BLOCK_SIZE, in);
fwrite(block, sizeof(block), BLOCK_SIZE, out);
fputc('\n', in);
for(int i = 0; i < BLOCK_SIZE; i++)
printf("%c", block[i]);
printf("\n");
}
d2hpbGUoIWZlb2YoaW4pKXsKICAgICAgICAgICAgICAgICAgICBtZW1zZXQoYmxvY2ssIDAsIHNpemVvZihibG9jaykpOyAgICAgLy/DjsOhw63Ds8Orw7/DpcOsIMOhw6vDrsOqCiAgICAgICAgICAgICAgICAgICAgZnJlYWQoYmxvY2ssIHNpemVvZihibG9jayksIEJMT0NLX1NJWkUsIGluKTsKICAgICAgICAgICAgICAgICAgICBmd3JpdGUoYmxvY2ssIHNpemVvZihibG9jayksIEJMT0NLX1NJWkUsIG91dCk7CiAgICAgICAgICAgICAgICAgICAgZnB1dGMoJ1xuJywgaW4pOwogICAgICAgICAgICAgICAgICAgIGZvcihpbnQgaSA9IDA7IGkgPCBCTE9DS19TSVpFOyBpKyspCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcmludGYoIiVjIiwgYmxvY2tbaV0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCJcbiIpOwogICAgfQ==