← RoseCode

ROSECODE 212

Subsets II

gerrob · Programming ·

See p211 from Sinan, same problem, but for the first 256 positive integers, so for S={1,2,..,256}.

My timing: 3 seconds. [without any trick using roughly 210 MB of Ram], the answer fits in 64 bits.