Binary Squash
A challenge by
mousetail
Description
Given a list of integers, each on their own line, combine the adjacent numbers where their binary representations do not share a one.
For example, given the list:
1 6 8 3 4
Would output:
15 7
Each number will be at most 2<sup>16</sup>
Leaderboard
| Author | Points | ||
|---|---|---|---|
| #1 |
|
Natanaelel | 55 |
| #2 |
|
hallvabo | 56 |
| #2 |
|
lukegustafson | 56 |
| #2 |
|
ovs-code | 56 |
| #5 |
|
bizy-coder | 57 |
| #6 |
|
EroticShiveringKingBanana | 59 |
| #6 |
|
fuzzylojik-golf | 59 |
| #8 |
|
Bulmenisaurus | 60 |
| #9 |
|
AlephSquirrel | 61 |
| #10 |
|
MeWhenI | 64 |