You are viewing a single comment's thread. Return to all comments →
While you're playing with bits, you don't have to do the comparisons:
mask |= 1 << (s[i] & 0x1F) - 1;
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
While you're playing with bits, you don't have to do the comparisons: