728x90
https://www.acmicpc.net/problem/2562
max = 0
index = 0
for i in range(9):
n = int(input())
if max < n:
max = n
index = i + 1
print(max)
print(index)
728x90
'CS > Algorithm' 카테고리의 다른 글
[python : 2576] 홀수 (0) | 2022.02.08 |
---|---|
[Python : 2475] 검증수 (0) | 2022.02.08 |
[Python : 1408] 24 (시간 차이 구하는 문제) (0) | 2022.02.03 |
[Python : 5635] 생일 (sort 다중key 정렬) (0) | 2022.02.03 |
[Python : 11098] 첼시를 도와줘! (0) | 2022.02.03 |