Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong code for Cyclic Shift problem in HackerEarth #68

Open
ghost opened this issue Nov 11, 2021 · 0 comments
Open

Wrong code for Cyclic Shift problem in HackerEarth #68

ghost opened this issue Nov 11, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 11, 2021

The code written was in good style but it is not complete.
It is only working when shift is 2.
When submitting the answer all the results are wrong.

I have written my own code and it got Accepted for all the cases except 2, which is giving "EOF" line error. So I was looking someone else's answer and found this. This code not even calculating the decimal values of the binary string.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants