Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
•The second defined int (in this case c) is always set as 1, so I can shorten c=1,o=1,w=1,b=1,e=1 to c,o,w,b,e=b=w=o=c=1 (edit fixed typo and now it turns out this isnt shorter)
•r=~-l/2 is r=(l-1)/2 using bitshifts
•The second defined int (in this case c) is always set as 1, so I can shorten c=1,o=1,w=1,b=1,e=1 to c,o,w,b,e=b=w=o=c=1 (edit fixed typo and now it turns out this isnt shorter)
•The second defined int (in this case c) is always set as 1, so I can shorten c=1,o=1,w=1,b=1,e=1 to c,o,w,b,e=b=w=o=c=1 (edit fixed typo and now it turns out this isnt shorter)
•The second defined int (in this case c) is always set as 1, so I can shorten c=1,o=1,w=1,b=1,e=1 to c,o,w,b,e=b=w=o=c=1
•The second defined int (in this case c) is always set as 1, so I can shorten c=1,o=1,w=1,b=1,e=1 to c,o,w,b,e=b=w=o=c=1 (edit fixed typo and now it turns out this isnt shorter)