백준 문제풀이
baekjoon - python - 10886
winston1214
2020. 9. 3. 21:52
반응형
https://www.acmicpc.net/problem/10886
10886번: 0 = not cute / 1 = cute
준희는 자기가 팀에서 귀여움을 담당하고 있다고 생각한다. 하지만 연수가 볼 때 그 의견은 뭔가 좀 잘못된 것 같았다. 그렇기에 설문조사를 하여 준희가 귀여운지 아닌지 알아보기로 했다.
www.acmicpc.net
# @Author YoungMinKim
# baekjoon
N=int(input())
vote = []
for _ in range(N):
x=int(input())
vote.append(x)
if vote.count(0)>vote.count(1):
print("Junhee is not cute!")
else:
print("Junhee is cute!")
반응형