当前位置: 代码迷 >> 综合 >> hdu 2095 find your present (2)
  详细解决方案

hdu 2095 find your present (2)

热度:50   发布时间:2023-12-04 20:15:58.0
#include<stdio.h>
int main()
{int i,k,n,s;while(scanf("%d",&n),n){s=0;for(i=0;i<n;i++){scanf("%d",&k);s^=k;}printf("%d\n",s);}return 0;
}

  相关解决方案