delete pics to save space

This commit is contained in:
2023-08-03 09:22:52 +08:00
commit de60cd6ed4
1334 changed files with 66221 additions and 0 deletions

22
7.1704.cpp Normal file
View File

@ -0,0 +1,22 @@
#include<cstdio>
#include<algorithm>
using namespace std;
const int maxn=1005;
int T,n,p[maxn];
int main()
{
#ifdef local
freopen("pro.in","r",stdin);
#endif
scanf("%d",&T);
while(T-->0)
{
scanf("%d",&n);
for(int i=1;i<=n;i++) scanf("%d",&p[i]);
sort(p+1,p+n+1);
int res=0;
for(int i=n;i>=1;i-=2) res^=(p[i]-p[i-1]-1);
puts(res?"Georgia will win":"Bob will win");
}
return 0;
}