Rt, wrong link
求助 HACK 或者讲一下错误的地方(Editorial 看不懂)
#include<bits/stdc++.h>
using namespace std;
map <int,bool> cnt;
signed main() {
int n,m;
scanf("%d%d",&n,&m);
for(int i=1;i<=2*n;++i) {
int a;
scanf("%d",&a);
cnt[a%m]^=true;
}
for(auto x:cnt) if(x.second) return 0&puts("Alice");
puts("Bob");
return 0;
}