Codeforces Problem-1030A In Search of an Easy Problem
AC代码:
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
bool f=false;
cin>>n;
for (int i=1;i<=n;i++)
{
int z;
cin>>z;
if (z==1)
f=true;
}
cout<<(f?"HARD":"EASY")<<endl;
return 0;
}