1
2
3
4
5
|
import sys
n=int(input())
nums=list(map(int, sys.stdin.readline().split()))
if sum(nums)>0 : print('HARD')
else : print('EASY')
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
codeforces 785A - Anton and Polyhedrons (0) | 2022.05.12 |
---|---|
leetcode 47. Permutations II (0) | 2022.05.12 |
leetcode 1679. Max Number of K-Sum Pairs (0) | 2022.05.04 |
leetcode 844. Backspace String Compare (0) | 2022.05.02 |
leetcode 905. Sort Array By Parity (0) | 2022.05.02 |
댓글