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

failing for "+..34" #17

Open
harendra247 opened this issue Jan 20, 2020 · 3 comments
Open

failing for "+..34" #17

harendra247 opened this issue Jan 20, 2020 · 3 comments
Labels

Comments

@harendra247
Copy link

No description provided.

@cruxrebels
Copy link
Owner

Hi @harendra247, could you please provide for which code file or line is this issue opened?

Also, if it's failing on the InterviewBit online judge please attach a screenshot of the failure.

@harendra247
Copy link
Author

My bad! It is ValidNumber.cpp try running it for "+..34" input

@cruxrebels
Copy link
Owner

You're right. The Strings problem ValidNumber.cpp can be enhanced to handle +..34 case since expected result is 0 and the solution returns 1 currently.

Do you want to raise a fix and contribute for this solution?

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

No branches or pull requests

2 participants