标签:des style blog color java os io strong for
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 4690 Accepted Submission(s): 2804
1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 int m,p[101],i; 6 while(cin>>m,m) 7 { 8 int ko=0; 9 for(i=0;i<m;i++) 10 { 11 cin>>p[i]; 12 ko^=p[i]; 13 } 14 int s=0; 15 for(i=0;i<m;i++) 16 if(p[i]>(ko^p[i])) 17 s++; 18 cout<<s<<endl; 19 } 20 }
标签:des style blog color java os io strong for
原文地址:http://www.cnblogs.com/ainixu1314/p/3932036.html