#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
int T;
cin>>T;
while(T--){
int N;
cin>>N;
int a[20]{25,18,15,12,10,8,6,4,2,1};
int p=0;
for(int i=0;i<N;i++){
int x;
cin>>x;
p+=a[x-1];
if(x>1){
p-=25;
}
else{
p-=18;
}
}
cout<<(p>=0?"Champion":"Practice Harder")<<'\n';
}
return 0;
}
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 3ms | 1892 KiB | ||||
subtask2 | 0/20 | ||||||
2 | Wrong answer | 3ms | 2092 KiB | ||||
3 | Wrong answer | 3ms | 2328 KiB | ||||
subtask3 | 0/20 | ||||||
4 | Wrong answer | 6ms | 2564 KiB | ||||
5 | Wrong answer | 6ms | 2908 KiB | ||||
6 | Wrong answer | 6ms | 3096 KiB | ||||
7 | Wrong answer | 4ms | 3184 KiB | ||||
subtask4 | 0/60 | ||||||
8 | Wrong answer | 6ms | 3276 KiB | ||||
9 | Wrong answer | 6ms | 3380 KiB | ||||
10 | Wrong answer | 6ms | 3604 KiB | ||||
11 | Wrong answer | 4ms | 3836 KiB |