Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 맥북
- SW Expert Academy
- PYTHON
- ChatGPT
- 편스토랑 우승상품
- Real or Not? NLP with Disaster Tweets
- programmers
- 프로그래머스 파이썬
- 백준
- hackerrank
- 파이썬
- 금융문자분석경진대회
- Git
- 데이콘
- gs25
- leetcode
- 우분투
- Docker
- 더현대서울 맛집
- 코로나19
- github
- 캐치카페
- dacon
- ubuntu
- 프로그래머스
- 편스토랑
- Kaggle
- 자연어처리
- AI 경진대회
- Baekjoon
Archives
- Today
- Total
솜씨좋은장씨
[BaekJoon] 26489번 : Gum Gum for Jay Jay (Python) 본문
728x90
반응형

코딩 1일 1문제! 오늘의 문제는 백준의 Gum Gum for Jay Jay 입니다.
26489번: Gum Gum for Jay Jay
You are lost in the museum and keep walking by a giant rock head that says “gum gum for jay jay” each time you walk by. Print out the number of times you have walked by the giant rock head after reading in the data file.
www.acmicpc.net
👨🏻💻 코드 ( Solution )
def gum_gum_for_jay_jay():
answer = 0
while True:
try:
gum_gum = input()
answer += 1
except EOFError:
break
return answer
if __name__ == "__main__":
print(gum_gum_for_jay_jay())
GitHub - SOMJANG/CODINGTEST_PRACTICE: 1일 1문제 since 2020.02.07
1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.
github.com
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
[BaekJoon] 26545번 : Mathematics (Python) (0) | 2022.12.21 |
---|---|
[BaekJoon] 5358번 : Football Team (Python) (0) | 2022.12.20 |
[BaekJoon] 6840번 : Who is in the middle? (Python) (0) | 2022.12.16 |
[BaekJoon] 26307번 : Correct (Python) (0) | 2022.12.15 |
[BaekJoon] 2033번 : 반올림 (Python) (0) | 2022.12.14 |