标签:睡前一水
3 2 1 1 3 3 8 11 2 5 10
HRDV HRDV PIAOYI
代码:
#include <stdio.h>
int main(){
int t, n, ans, a;
scanf("%d", &t);
while(t --){
scanf("%d", &n);
ans = 0;
while(n --){
scanf("%d", &a);
ans^=a;
}
printf("%s\n", ans?"PIAOYI":"HRDV");
}
return 0;
}
标签:睡前一水
原文地址:http://blog.csdn.net/shengweisong/article/details/40873669