Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 인코그니토
- Web Hacking
- misc
- HackCTF
- C
- Forensics
- 그리디 알고리즘
- Python
- Digital Forensics
- 문자열
- CTF
- 정렬
- Database
- Web
- Text
- N0Named
- xcz.kr
- 써니나타스
- wargame
- 수학
- SuNiNaTas
- Incognito
- MySQL
- Network
- 백준
- cryptography
- writeup
- php
- 사칙연산
- 구현
Archives
- Today
- Total
보안을 그리다, 훈이
[Baekjoon/Python3] 10886번 0 = not cute / 1 = cute 본문
Programming/Python & Data Structures
[Baekjoon/Python3] 10886번 0 = not cute / 1 = cute
HooNeee 2020. 12. 6. 18:32[Baekjoon/Python3] 10886번 0 = not cute / 1 = cute
10886번: 0 = not cute / 1 = cute
준희는 자기가 팀에서 귀여움을 담당하고 있다고 생각한다. 하지만 연수가 볼 때 그 의견은 뭔가 좀 잘못된 것 같았다. 그렇기에 설문조사를 하여 준희가 귀여운지 아닌지 알아보기로 했다.
www.acmicpc.net
n = int(input())
nums = [int(input()) for i in range(n)]
if nums.count(0) > nums.count(1):
print('Junhee is not cute!')
else:
print('Junhee is cute!')
'Programming > Python & Data Structures' 카테고리의 다른 글
[Baekjoon/Python3] 10939번 BASE32 디코딩 (0) | 2020.12.06 |
---|---|
[Baekjoon/Python3] 10926번 ??! (0) | 2020.12.06 |
[Baekjoon/Python3] 10872번 팩토리얼 (0) | 2020.12.06 |
[Baekjoon/Python3] 10871번 X보다 작은 수 (0) | 2020.12.06 |
[Baekjoon/Python3] 10870번 피보나치 수 5 (0) | 2020.12.06 |
Comments