一、n的二进制表示中的第k位 n>>k&1 #include <bits/stdc++.h> using namespace std; int main() { int n = 10; for(int k =</