Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xigoi
on Oct 15, 2024
|
parent
|
context
|
favorite
| on:
Project Euler #912: Where are the Odds?
If you assume two’s complement arithmetic, then this is always equivalent because you’re basically just calculating the answer in a modular ring.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: