it
[파이썬] 백준 10886번 0 = not cute / 1 = cute
두두100
2022. 4. 7. 23:44
https://www.acmicpc.net/status?user_id=gylu7&problem_id=10886&from_mine=1
채점 현황
www.acmicpc.net
n=int(input())
A=[2]*n
for i in range(n):
A[i]=int(input())
cute=0
notcute=0
for j in range(n):
if A[j]==0:
notcute=notcute+1
elif A[j]==1:
cute=cute+1
if cute>notcute:
print("Junhee is cute!")
elif cute<notcute:
print("Junhee is not cute!")