Skip to content

Update decompressor.cpp#5

Open
no-one-21 wants to merge 2 commits into
glugnith:masterfrom
no-one-21:master
Open

Update decompressor.cpp#5
no-one-21 wants to merge 2 commits into
glugnith:masterfrom
no-one-21:master

Conversation

@no-one-21

Copy link
Copy Markdown

No description provided.

@srbcheema1

Copy link
Copy Markdown
Contributor

good catch @no-one-21,
You have found the location of the problem easily. there is some problem in implementing the technique.
Whenever you solve an issue try to figure the main cause of the issue. not the only one described in description.
it is good to discover other cases than given in the discription of issue. I have written that it fails on empty file but that was not the only problem. I have left the other cases for the solvers. you did really well by finding out the location of the problem.
The other cases are that it will also fail on file size less than 5 words (not only empty file). Sometimes it happens that issue reporter reports the issue with less information it is duty of contributers to detect the root cause of problem and try to fix all the cases including those not listed in issue

One more thing never miss description of you PR
Good luck and I hope to see another commit over this PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants