Codeforces Problem-1030A In Search of an Easy Problem

Codeforces Problem-1030A In Search of an Easy Problem

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;
}
上一篇:杭电oj:A + B Problem


下一篇:Problem A: 小蛮腰