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

15.4-6 The code is maybe not right.It outputs the error answer #348

Open
Semonlkf opened this issue Jan 29, 2023 · 1 comment
Open

15.4-6 The code is maybe not right.It outputs the error answer #348

Semonlkf opened this issue Jan 29, 2023 · 1 comment

Comments

@Semonlkf
Copy link

when I input :

6 1 3 5 4 6 8
the right answer is to be:
5
but the program outputs:
6(the value of len)

@patty111
Copy link

patty111 commented Jun 4, 2023

The code works fine. Maybe check again.
image

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

2 participants