摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=3006 1 #include <iostream> 2 using namespace std; 3 const int MAX = 0x0007fff; 4 int used[MAX] = {0}; 5 int main(){ 6 int n,m; 7 while(cin>>n>>m){ 8 m = 1<<m; 9 memset(used,0,sizeof(used));10 int i;11 for(i=0;i<n;i++){... 阅读全文