interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / exercises / eliuds-eggs / eliuds-eggs.om

9 lines · 379 bytes Raw Blame History
1note Exercism-style exercise "eliuds-eggs": https://exercism.org/tracks/python/exercises/eliuds-eggs
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note eggcount is the number of 1 bits in the binary representation of n.
4note Check it with: sh exercise.sh exercises/eliuds-eggs
5om2
6fn eggcount n ulong to ulong
7note replace this line with your solution
8trap 13
9end