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
- Docker
- 프로그래머스 파이썬
- Git
- 백준
- ubuntu
- Real or Not? NLP with Disaster Tweets
- Kaggle
- ChatGPT
- 코로나19
- 더현대서울 맛집
- 프로그래머스
- programmers
- 우분투
- github
- hackerrank
- 데이콘
- AI 경진대회
- 파이썬
- dacon
- gs25
- Baekjoon
- leetcode
- 편스토랑 우승상품
- 캐치카페
- 자연어처리
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 |