| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- collections.deque
- flask
- 피보나치 수
- Numpy
- 백준
- 파이썬머신러닝완벽가이드
- shapeArea
- recursion
- Python
- matrixElementsSum
- All Longest Strings
- 수 정렬하기
- Daily Commit
- 2750
- adjacentElementsProduct
- 10953
- centuryFromYear
- 2015 봄학기 알고리즘
- Sequential Search
- codesignal
- til
- 파이썬 포렌식
- Counting cells in a blob
- data_structure
- baekjun
- cpp
- almostIncreasingSequence
- codesingal
- C++
- markdown
Archives
- Today
- Total
Introfor
[백준] 2908번 상수 본문
지금 내 수준에서 쉽게 푸는 문제들은 그냥 너무 쉬운 문제들...
|
1
2
3
4
5
6
|
def solution():
return max(list(map(int, input()[::-1].split())))
res = solution()
print(res)
|
cs |
다른 사람 코드
위 코드와 같은 시간이 걸린다,, 64ms
|
1
2
3
4
5
6
7
8
9
|
a, b = input().split()
a = int(a[::-1])
b = int(b[::-1])
if a > b :
print(a)
else :
print(b)
|
cs |
'Programming_prob > BaekJoon' 카테고리의 다른 글
| [백준] 1316번 그룹 단어 체커 (0) | 2020.10.07 |
|---|---|
| [백준] 2941번 크로아티아 알파벳 (0) | 2020.10.07 |
| [백준] 1152번 단어의 개수 (0) | 2020.10.06 |
| [백준] 1157번 단어 공부 (0) | 2020.10.06 |
| [백준] 2675번 문자열 반복 (0) | 2020.10.05 |
Comments