CodeForces - 1058A. In Search of an Easy Problem
这题,全零是esay有1是hard,真难呀。
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,i,x,flag=0;
cin>>n;
for(int i=1;i<=n;i++)
{
cin>>x;
if(x==1)
flag=1;
}
if(flag)
cout<<"HARD";
else cout<<"EASY";
return 0;
}