hiho week 44 register

Ended

Participants:930

Verdict:Accepted
Score:100 / 100
Submitted:2015-05-03 15:48:55

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
using namespace std;
int main(){
    int N;
    cin>>N;
    int state=0,a;
    while(N-- ){
        cin>>a;
        state^=a;
    }
    if(state==0 ) cout<<"Bob";
    else cout<<"Alice";
    return 0;   
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX