标签:style http color os io ar for 数据 div
3 2 1 1 3 3 8 11 2 5 10
HRDV HRDV PIAOYI
代码:
#include<stdio.h> int main() { int T; scanf("%d",&T); while(T--) { int n,i,k=0,t; scanf("%d",&n); for(i=0;i<n;++i) { scanf("%d",&t); if(t&1) k++; } if(k%2) printf("PIAOYI\n"); else printf("HRDV\n"); } return 0; }
标签:style http color os io ar for 数据 div
原文地址:http://blog.csdn.net/qq_18062811/article/details/38945197