异或 hdu 2095 find your present (2)
/*
http://acm.hdu.edu.cn/showproblem.php?pid=2095
题意:只有一个数的个数为奇数,求这个数
异或:一个数的偶数次异或值为0:1^1=0, 2^2=0, 3^3^3^3 = 0
*/
#include
#include
#include
#include
using namespace std;
int main(){
#ifndef
原创
2012-08-27 13:04:46 ·
223 阅读 ·
0 评论