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

3.63 switch #9

Open
SydCS opened this issue Nov 27, 2023 · 0 comments
Open

3.63 switch #9

SydCS opened this issue Nov 27, 2023 · 0 comments

Comments

@SydCS
Copy link

SydCS commented Nov 27, 2023

long switch_prob(long x, long n) { long result = x; switch (n) { case 60: case 62: result = 8 * x; break; case 63: result = x >> 3; break; case 64: result = 15 * x; x = result; case 65: x *= x; default: result = x + 75; break; } return result; }

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