Problem : 2095 ( find your present (2) ) Judge Status : Accepted
RunId : 6068462 Language : G++ Author : qq1203456195
Code Render Status : Rendered By HDOJ G++ Code Render Version 0.01 Beta
RunId : 6068462 Language : G++ Author : qq1203456195
Code Render Status : Rendered By HDOJ G++ Code Render Version 0.01 Beta
1 #include <stdio.h> 2 int main() 3 { 4 int n,r,t; 5 while (scanf("%d",&n),n) 6 { 7 r=0; 8 while (n--) 9 { 10 scanf("%d",&t); 11 r^=t; 12 } 13 printf("%d\n",r); 14 } 15 return 0; 16 }