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

Clarify handling scores greater than 255 in allergies #2045

Open
asarkar opened this issue May 26, 2022 · 0 comments
Open

Clarify handling scores greater than 255 in allergies #2045

asarkar opened this issue May 26, 2022 · 0 comments

Comments

@asarkar
Copy link

asarkar commented May 26, 2022

I found several closed tickets related to this after my code failed the last test. The following comment is anything but clear. The first thought is to take a modulo, but the test expects a bitwise-AND operation.

For example, if the allergy score is 257, your program should only report the eggs (1) allergy.

Please add some explanation as to why, may be something like this comment.

#224
#389
exercism/rust#209

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