You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
340 B
C++

#include <cstdio>
int a[47],n,s1[23];
bool dfs(int cur,int c1,int c2)
{
if(cur*2>n) return false;
}
int main()
{
int T;
scanf("%d",&T);
while(T--)
{
scanf("%d");
for(int i=0;i<n;i++)
scanf("%d",a+i);
puts(dfs()?"Good job!!":"What a pity!");
}
return 0;
}