标签:std close return ted select arc pid amp splay
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/65535 K (Java/Others)
Total Submission(s): 1487 Accepted Submission(s): 939
1 #include<stdio.h> 2 int main() 3 { 4 int t,n,m,l; 5 scanf("%d",&t); 6 while(t--) 7 { 8 scanf("%d",&n); 9 int sg=0; 10 for(int i=0;i<n;i++){ 11 scanf("%d%d",&m,&l); 12 sg ^= m%(l+1); 13 } 14 if(sg) 15 puts("No"); 16 else 17 puts("Yes"); 18 } 19 return 0; 20 }
标签:std close return ted select arc pid amp splay
原文地址:http://www.cnblogs.com/GO-NO-1/p/6363097.html