poj 1740 A New Stone Game
摘要:
#include#includebool flag[110];int main(){ int n,i,x; int js; while(scanf("%d",&n)!=EOF&&n) { memset(flag,0,sizeof(flag)); js=0; for(i=0;i<n;i++) { scanf("%d",&x); flag[x]=1^flag[x]; if(flag[x])js++; else js--; ... 阅读全文
posted @ 2013-10-31 22:32 雨钝风轻 阅读(157) 评论(0) 推荐(0) 编辑