long long ans = 2ll; for(; x; x -= -x & x) ans <<= 1; printf("lld\n", ans);
点赞 15

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务