Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Wrong result for certain input #10

Open
selmantayyar opened this issue Feb 22, 2021 · 0 comments
Open

Wrong result for certain input #10

selmantayyar opened this issue Feb 22, 2021 · 0 comments

Comments

@selmantayyar
Copy link

selmantayyar commented Feb 22, 2021

For the input below it gives 20, which is wrong. (Using Java, V2.0)

INPUT
21 5
1 3 7 8 11

output:

OUTPUT
3
0 3 4

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

No branches or pull requests

1 participant