hiho week 44 register

Ended

Participants:930

Verdict:Accepted
Score:100 / 100
Submitted:2015-05-03 12:18:42

Lang:GCC

Edit
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
int main() {
    int n,i,p=0;
    scanf("%d",&n);
    while(n--) {
        scanf("%d",&i);
        p^=i;
    }
    printf("%s\n",p?"Alice":"Bob");
    return 0;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX