a problem to solve
John Salerno
johnjsal at NOSPAMgmail.com
Fri Mar 24 19:58:11 EST 2006
mensanator at aol.com wrote:
> a = [0xf5fdc,0xf6edb,0xbddb7,0x6fddd,0xeb7ed,0xb977f,0xbfed3,0xedef5]
> b = [0xddb7d,0xfaddb,0xde75f,0xeef7a,0xdd77b,0xdfbce,0xb77dd,0x7ef5d]
> c = [0xf37bd,0xdfaee,0xddd6f,0xddfb6,0xb9efb,0xb7bbe,0xecfbd,0xb75df]
> d = [0x77edb,0xbb7ee,0xdf773,0x7bdeb,0x7ddaf,0xdeeeb,0xfb35f,0xbb7dd]
> Once you see that a[0],b[0],c[0],d[0] is not a solution, try a
> different set of switches. Repeat until you find a set that works.
> There is, in fact a solution, but I won't reveal it unless you ask.
Using your hex list, I combined the four correct switches with the &
operator, and the result was 0. Shouldn't it be 1 for the correct answer?
More information about the Python-list
mailing list