Codeforces 1030A

#include <stdio.h>

int main()
{
	int num;
	scanf("%d", &num);
	int i, sum=0;
	int temp;
	for(i=0; i<num; ++i)
	{
		scanf("%d", &temp);
		sum+=temp;
	}
	if(sum)
		printf("HARD\n");
	else
		printf("EASY\n");
	return 0;
}

  @这是一道简单的模拟题。

猜你喜欢

转载自www.cnblogs.com/commario/p/11800883.html