POJ 2234 —— Matches Game 入门水题

    xiaoxiao2021-12-14  20

    原题:http://poj.org/problem?id=2234

    #include<iostream> using namespace std; int m; int main(){ while(cin>>m){ int x = 0; while(m--){ int y; cin>>y; x = x^y; } if(x == 0) cout<<"No"<<endl; else cout<<"Yes"<<endl; } return 0; }

    转载请注明原文地址: https://ju.6miu.com/read-962942.html

    最新回复(0)