摘要: Problem DescriptionThere are n numbers in a array, as a0, a1 ... , an-1, and another number m. We define a function f(i, j) = ai|ai+1|ai+2| ... | aj . Where "|" is the bit-OR operation. (i int p[100005];int main(){ int test,n,i,ca=0,j,m;scanf("%d",&test);while(test--){ca++;in 阅读全文
posted @ 2013-09-15 10:25 forevermemory 阅读(275) 评论(0) 推荐(0)