Int类型有32/64位,可以存储32/64个信息位
# 存储一个字符串 flag = 0 for ch in s: flag |= 1 << (ord(c) - ord("a"))
← 树状数组 并查集→